Flexible, Fluid and Stretched Background Image Size with CSS

Tagged: ,

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #8264

    I am sure there are many who might be looking for Flexible, Fluid and Stretched Background Image Size with pure CSS3:


    body {
    background: #000 url(stretchbackground.png) no-repeat;
    -webkit-background-size: 100% auto;
    -moz-background-size: 100% auto;
    -ms-background-size: 100% auto;
    background-size: 100% auto;
    }

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.
Share via
Send this to a friend