mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Update percentage type reference.
This commit is contained in:
@@ -10,6 +10,7 @@ It is often used to represent values that are relative to the parent's values.
|
||||
## Syntax
|
||||
|
||||
--8<-- "docs/snippets/type_syntax/percentage.md"
|
||||
Some rules may clamp the values between `0%` and `100%`.
|
||||
|
||||
## Examples
|
||||
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
A [`<percentage>`](/css_types/percentage) is a [`<number>`](/css_types/number) followed by the percent sign `%` (without spaces).
|
||||
Some rules may clamp the values between `0%` and `100%`.
|
||||
|
||||
Reference in New Issue
Block a user