Add subsections for references with 2+ examples.

This commit is contained in:
Rodrigo Girão Serrão
2023-01-09 13:50:45 +00:00
parent 71b859b6e2
commit dd6e73aa39
14 changed files with 103 additions and 4 deletions

View File

@@ -30,6 +30,8 @@ This is shown in the second example below.
## Examples
### Basic usage
Note that the second widget is hidden, while leaving a space where it would have been rendered.
=== "Output"
@@ -49,6 +51,8 @@ Note that the second widget is hidden, while leaving a space where it would have
--8<-- "docs/examples/styles/visibility.css"
```
### Overriding container visibility
The next example shows the interaction of the `visibility` rule with invisible containers that have visible children.
The app below has three rows with a `Horizontal` container per row and three placeholders per row.
The containers all have a white background, and then: