简体   繁体   中英

Link doesn't work when placing a div on top of it

I've the following situation and need help (HTML/CSS/JS related)

I have a div with an image in it (takes the all div space) that when you mouseover it, another div with an image is displayed on top of that (the 2nd div is half transparent). The bottom image has a link. This link doesn't work because of the new half transparent div on top of it.

How can I make the link work?

Thanks!

您需要为顶部图像指定相同的链接。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM