3 ms·
Whoa, cool! The gif integration would be what appears to separate this from little libs like Motio[0]. _Question for HN_: is there a reliable cross-browser wa
by mr_luc 13y ago
Whoa, cool!
The gif integration would be what appears to separate this from little libs like Motio[0].
_Question for HN_: is there a reliable cross-browser way to use the sprited background-image approach with responsive elements?
I'm thinking specifically about responsive images, where you want to fill a certain amount of space.
Because of IE's lagging support for various background-... css properties, my impression was that unless you can say goodbye to IE8 it's not an option (maybe not even for non-sprited bgimage, but actually I think there's a DX transform that can stand in for css background 'cover').
But in fact I don't believe I've ever actually seen a demo of a responsive, animated, sprited background-image! I might have just missed it. I've just been preloading images and animating the src property.
----
[0] http://darsa.in/motio/ http://darsa.in/motio/