-1
I’m trying to make an image disappear by hovering over the div
but I have a problem: when I move the mouse the image disappears, but I can’t click the link from the back div.
Code:
<div class="col-md-8">
<div class="elemento-um">
<!-- LightWidget WIDGET -->
</div></div>
<div class="ico">
<a href='#'><img src='icon.png' /></a>
</div>
CSS:
.elemento-um {
background: rgba(0, 0, 0, 0);
margin-top: -127px;
height: 107px;
overflow: hidden;
}
.ico {
opacity: 1;
top: -140px;
transition: .5s ease;
z-index: 111;
position: absolute;
}
.ico a{
display: none;
visibility:visible;
}
.ico:hover a {
visibility: block;
}
Read only by your report it is impossible to give you an accurate answer. Please edit your question by placing the HTML and CSS code you have. And if possible take the site tour to better understand how it works here https://answall.com/tour
– hugocsl
In addition to the @hugocsl comment, the [Ask] page goes straight to the point. It is always recommended to include a [mcve].
– Diego Rafael Souza
@hugocsl, sorry, didn’t know. I edited the question with the code.
– Lia