@simokitkat
Posted
you could add an overlay empty div in the .img-container div and after that, you give the .img-container {position:relative} and the overlay div will be styled as { position:absolute; inset: 0; background-color: /* the hover color */; display: none;}
and upon hovering over the img-container the overlay div will be {display:block}
also you can give the eye icon {position:absolute;} and then give z-index of 2 or more to be over the overlay div after all.
I hope you find this helpful
Marked as helpful
@Pseidu
Posted
@simokitkat Used your idea (well, not exactly) and now my proyect works as it should Thank you for your help!
@simokitkat
Posted
@Pseidu You're welcome.