Closed ysulyma closed 4 years ago
Explain why we use opacity: 0; pointer-events: none; instead of visibility: hidden;.
opacity: 0; pointer-events: none;
visibility: hidden;
It's because with visibility:hidden, an invisible element can have visible children.
visibility:hidden
Explain why we use
opacity: 0; pointer-events: none;
instead ofvisibility: hidden;
.