Joined January 2013
·

Jan Van Lysebettens

Designer & developer at chilli.be
·
Belgium
·
·
·

Posted to Div Full Width/Height of viewport over 1 year ago

couldn't you achieve the same result with absolute positioning and height/width: 100% ?

div{ position: absolute; width: 100%; height: 100%; top: 0; left: 0; } </code>

no need for javascript this way.

Posted to Full Background in CSS over 1 year ago

Been using "background-size: cover;" for a couple of projects lately, and it rocks. Didn't know about the nifty IE fallback though, thanks for sharing.

good tip.
( typo in your title though: "uplaod" )

Achievements
77 Karma
3,277 Total ProTip Views