The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › HTML IMG replace with CSS :hover
Is it possible? I’m not trying to use background img sprites, but switch out an html img with another on hover.
Anyone know how I can make this happen? Bestow your knowledge upon thy brain!
fill in all the paths to the images ect. and replace the icon_home and icon_home_hover with you icon name.
Hope this helps.
Here’s a very simple solution: http://codepen.io/senff/pen/szfAv
Shows one image in the DIV in normal mode, and when hovering over the DIV it will hide the first one and show the second one.