mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Update *opacity references.
This commit is contained in:
@@ -8,9 +8,10 @@ The `opacity` property sets the opacity/transparency of a widget.
|
||||
opacity: <a href="../../css_types/number"><number></a> | <a href="../../css_types/percentage"><percentage></a>;
|
||||
--8<-- "docs/snippets/syntax_block_end.md"
|
||||
|
||||
The opacity of a widget can be set as a [`<number>`](../css_types/number.md) between `0` and `1` or a [`<percentage>`](../css_types/percentage.md) between `0%` and `100%`.
|
||||
The opacity of a widget can be set as a [`<number>`](../css_types/number.md) or a [`<percentage>`](../css_types/percentage.md).
|
||||
`0`/`0%` means no opacity, which is equivalent to full transparency.
|
||||
Conversely, `1`/`100%` means full opacity, which is equivalent to no transparency.
|
||||
Values outside of these ranges will be clamped.
|
||||
|
||||
### Values
|
||||
|
||||
|
||||
Reference in New Issue
Block a user