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

Home Forums CSS mouse hover in image Re: mouse hover in image

Kitty Giraudel

1. Create a .jpg or .png file with the 2 versions of your image side by side.
2. Place it as a background image on the element you want to hover.
3. When hovered, change the background-position property to show the correct version.