Skip to main content

Forums

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #273562
    Rowletdude
    Participant

    /Selector{
    property: value;
    }
    /

    body {
    background-image: url(BackGroundimage.JPG);

    background-size: cover;
    

    }
    h2 {
    color: #A5C663;
    text-align: center;
    cursor:pointer;
    }

    p {
    color: #555500;
    text-align: center;

    }

    li {
    list-style: none;
    display: inline-block;
    }
    ……………………………………………
    this is my css code but the background dosen’t appear i use sublime text 3 and chrome

    #273565
    Paulie_D
    Moderator

    We have now way of telling from this small piece of code.

    A demo would be required (ideally in Codepen) but check the path of the image and the casing for the filename is correct. BackGroundimage.JPG is not the same as backgroundimage.jpg

    #273566
    Ricky55
    Participant

    Always use lower case letters, separate letters with a hyphen –

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
icon-link icon-logo-star icon-search icon-star