[Solved] Make div so that you can press through it [closed]


You could use pointer-events: none; in the CSS of the overlaying div.

div { position: absolute; width: 200px; height: 200px; top: 0; left: 0; transition: background-color .8s; }
div#first:hover { background-color: #f00; }
div#second { pointer-events: none; background-color: #00f; opacity: .2; }
<div id="first"></div>
<div id="second"></div>

1

solved Make div so that you can press through it [closed]