JQuery mouseover image overlay

前端 未结 3 1491
时光说笑
时光说笑 2021-01-13 13:23

Just wondering how I can get this working 100% correctly. I think I\'m nearly there.

Basically, I have an image & when I mouseover, I want an overlay (which is a

3条回答
  •  猫巷女王i
    2021-01-13 14:11

    If i were you i would use only css. Actually you do not need any kind of functions like show() or hide(). I used an tag for wrapping because some old Internet Explorer versions does know about :hover only on this tag.

    You can check the trick here

提交回复
热议问题