只有CSS,是否可以触发:悬停和点击事件下面的元素? [英] With only CSS, is it possible to trigger :hover and click events underneath an element?
本文介绍了只有CSS,是否可以触发:悬停和点击事件下面的元素?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个半透明的PNG作为一个div的背景图片,我放置在一些链接。因此,链接不可点击。有没有办法,我可以悬停,然后点击通过在顶部的div? (BTW,to position to foreground div我使用绝对定位和z-index。)
I have a semi-transparent PNG as a background image for a div that that I'm placing over some links. As a result, the links aren't clickable. Is there a way I can hover and click "through" the div that's on top? (BTW, to position to foreground div I'm using absolute positioning and z-index.)
谢谢!
Mike
Thanks! Mike
推荐答案
此问题已解决:点击DIV到底层元素
这篇关于只有CSS,是否可以触发:悬停和点击事件下面的元素?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文