Home › Forums › CSS › CSS Animation (background-image position) – but Responsive? › Re: CSS Animation (background-image position) – but Responsive?
Thanks, but because I’m animating a sprite this actually re-sizes the whole image so you can see the other frames once it gets re-sized.
I need to set the .ani div to width 100% and height 24.68% (so it maintains that ratio) and the background image to 100% with a size of cover.
However if I give the div any height other than a fixed value it just disappears.
I will set up a copepen account shortly! Thanks