This code contains the HTML portion
<li id="nav1" class="navs"><a unselectable="on" draggable="false" class="Navigation" href="http://youtube.com">YouTube</a></li>
Below is the CSS code
.navs:after {
content: "";
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
background: #0d0d0d;
opacity: 0.5;
transform: scaleY(0);
transform-origin: 0 100%;
transition: all .2s ease-out;
}
.navs:hover:after{
transform: scaleY(1);
}
.navs:active:after{
background: #FFFFFF;
}
The issue I'm experiencing is that when I try to click the button, an overlay appears which prevents me from clicking it. Although I don't want to remove the overlay, is there a way to still be able to interact with the button even with the overlay present?