mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Refactor integer type.
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
# <integer>
|
||||
|
||||
The `<integer>` CSS type represents an integer number and can be positive or negative.
|
||||
The `<integer>` CSS type represents an integer number.
|
||||
|
||||
## Syntax
|
||||
|
||||
--8<-- "docs/snippets/type_syntax/integer.md"
|
||||
|
||||
!!! note
|
||||
|
||||
Some CSS rules may expect an `<integer>` within certain bounds. If that is the case, it will be noted in that rule.
|
||||
|
||||
## Syntax
|
||||
|
||||
Any legal integer, like `-10` or `42`.
|
||||
|
||||
## Examples
|
||||
|
||||
### CSS
|
||||
|
||||
Reference in New Issue
Block a user