Skip to main content

Forums

This topic contains 2 replies, has 3 voices, and was last updated by  JSNube 11 months, 1 week ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #269809

    canadacatman1
    Participant

    I am trying to get my background image to fit screen without stretching it. My image rotates every time my website is shown.

    Any help would be greatly appreciated.

    #269813

    Beverleyh
    Participant

    There isn’t a background-image and nothing that would imply rotation. We can’t comment on something we can’t see. Please edit your pen so that is shows the actual problem.

    #269819

    JSNube
    Participant

    hmmm…I can’t see what you’re talking about because there’s no example. But I have an idea of what you may be saying. Try using this in your CSS for the background image:

    #background {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0px;
    top: 0px;
    z-index: -1;
    }

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