Web Design

Only members of this group can post notes and use other group resources. Join now to get access to all group resources!
Log in or register to join this group

Cascade Style Sheet (CSS)  Stretch background in CSS  Viewed 99965 time(s), 2 post(s)., 1/12/2014 7:30:03 PM - by Maya

Maya 1/12/2014 7:30:03 PM

How to stretch the background to fit a container?

This content has not been rated yet. 
141 Reputation 9 Total posts
Sam 1/12/2014 8:57:45 PM

You may use background-size property

background-size: 100% auto;

This content has not been rated yet. 
233 Reputation 37 Total posts