The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Image preloading with CSS in Chrome Re: Image preloading with CSS in Chrome


I have since tried using a javascript method and that did not work either.

I still want to use CSS transitions with the sprite images, but what happens is that because you change the background position to get the next image in a sprite, the transition makes it so the hover icon slides in (from the right for example), when i want it to fade in. When i use 2 separate files i get the exact desired effect, but there seems to be no way around it for sprites.

Edit: I guess I did not clarify that i am using transparent pngs