html tutorial - How to change image on hover with CSS - html5 - html code - html form
Answer: Use the CSS background-image Property
In the :hover
pseudo category to alter the image on mouse hover You can use the CSS background-image property together, like this:
Example
You can mix the pictures into image sprite for smooth hover impact. However, if you would like to attain this impact victimization the tag you'll be able to use the CSS positioning technique, like this: