CSS: image link, change on hover

前端 未结 8 2173
故里飘歌
故里飘歌 2020-11-29 17:48

I have an image that is a link. I want to show a different image when the user hovers over the link.

Currently I\'m using this code:



        
8条回答
  •  一向
    一向 (楼主)
    2020-11-29 18:54

    If you have just a few places where you wish to create this effect, you can use the following html code that requires no css. Just insert it.

    
    

    Be sure to write the quote marks exactly as they are here, or it will not work.

提交回复
热议问题