Fade Image Within Sprite

Fading an image into another is pretty easy with CSS. Give the element a background-image, then on it’s :hover, change the background-image. It’s best practice to combine both images into one and shift the background-position rather than use two separate images, that’s the idea of CSS sprites. But changing the background position will result in a scroll effect. What if you need …

Rate this: