[–] alexobenauer 14y ago ↗ How is this better than "background-size: cover;"?Example: http://css-tricks.com/perfect-full-page-background-image/ [–] jonobird 14y ago ↗ Because 'background-size: cover; only works with IE9+'. This example is not supposed to be best practice or most preferred practice, it is meant to educate people and give an alternative to the one everybody already knows :) [–] alexobenauer 13y ago ↗ That's not true; you use:-webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; [–] [dead] jonobird 13y ago ↗ Still only works in IE9+...
[–] jonobird 14y ago ↗ Because 'background-size: cover; only works with IE9+'. This example is not supposed to be best practice or most preferred practice, it is meant to educate people and give an alternative to the one everybody already knows :) [–] alexobenauer 13y ago ↗ That's not true; you use:-webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; [–] [dead] jonobird 13y ago ↗ Still only works in IE9+...
[–] alexobenauer 13y ago ↗ That's not true; you use:-webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; [–] [dead] jonobird 13y ago ↗ Still only works in IE9+...
4 comments
[ 71.1 ms ] story [ 31.2 ms ] threadExample: http://css-tricks.com/perfect-full-page-background-image/
-webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover;