Answer
The visibility property controls whether generated boxes are visible. • hidden makes the box invisible while generally preserving layout space. • collapse has special behavior for some table and flex content. • Hidden content is normally not painted or focusable.
💡 Simple Example
.placeholder { visibility: hidden; }
⚡ Quick Revision
visibility can hide a box while keeping its layout space.