Values sections added to CSS properties docs

This commit is contained in:
Darren Burns
2022-08-30 11:49:11 +01:00
parent db216d1535
commit 92f15abc42
13 changed files with 121 additions and 99 deletions

View File

@@ -1,13 +1,20 @@
# Visibility
The `visibility` rule may be used to make a widget invisible while still reserving spacing for it. The default value is `"visible"` which will cause the Widget to be displayed as normal. Setting the value to `"hidden"` will cause the Widget to become invisible.
The `visibility` rule may be used to make a widget invisible while still reserving spacing for it.
## Syntax
```
visibility: [hidden|visible];
visibility: [visible|hidden];
```
### Values
| Value | Description |
|---------------------|----------------------------------------|
| `visible` (default) | The widget will be displayed as normal |
| `hidden` | The widget will be invisible |
## Example
Note that the second widget is hidden, while leaving a space where it would have been rendered.