I'm trying to find a way to do something with the background image on a website, exactly similar to http://www.dkny.com website.
As you can see, the pictures is resizable with the window no matter how big or small it is. (test with resizing the browser window)
how can I do that? and is there a recommended picture size?
Hello,
I'm trying to find a way to do something with the background image on a website, exactly similar to http://www.dkny.com website. As you can see, the pictures is resizable with the window no matter how big or small it is. (test with resizing the browser window)
how can I do that? and is there a recommended picture size?
-webkit-background-size: cover; -moz-background-size: cover; background-size: cover; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/background.png', sizingMethod='scale');
Search is your friend ;)
http://css-tricks.com/perfect-full-page-background-image/
@TheDoc Thank you :)