Files
textual/docs/examples/styles/visibility_containers.css
Rodrigo Girão Serrão 2217a8f5fa Add new visibility example.
This new example shows how we can have an invisible container with visible children.
2023-01-06 16:38:31 +00:00

23 lines
319 B
CSS

Horizontal {
padding: 1 2; /* (1)! */
background: white;
}
#top {} /* (2)! */
#middle { /* (3)! */
visibility: hidden;
}
#bot { /* (4)! */
visibility: hidden;
}
#bot > Placeholder { /* (5)! */
visibility: visible;
}
Placeholder {
width: 1fr;
}