Visibility
Makes an element invisible but keeps its space.
What does visibility: hidden do?
visibility: hidden makes an element invisible but keeps its space, so the layout doesn't shift.
.tooltip { visibility: hidden; }
.icon:hover .tooltip { visibility: visible; }
Level: Apprentice · More CSS terms at this level
Updated