Posted By

kickass on 05/11/13



Versions (?)

Who likes this?

2 people have marked this snippet as a favorite


CSS3 fullscreen background image - contain and cover options

 / Published in: CSS

"Contain" maintains aspect ratio of the image while giving a full screen - will scale down but wont scale up beyond 100% of its own dimensions and doesn't repeat by default "Cover" will crop either crop or stretch the image to cover the full screen - seems to be setting image to 100% of screen size regardless of browser window size

Report this snippet  

You need to login to post a comment.