Hello.
I have a block. Hovering over it hides a block inside ( opacity: 0 ). But when you hover on a child, it hides too. How to make, what would be when you hover on a child, he did not hide?
.parent { position: relative; width: 200px; height: 200px; background-color: black; } .parent-children { position: absolute; top: 200px; width: 50px; height: 50px; background-color: red; } .parent:hover .parent-children {opacity: 0} <div class="parent"> <div class="parent-children"></div> </div>