Add overflow CSS type.

This commit is contained in:
Rodrigo Girão Serrão
2023-01-04 11:25:47 +00:00
parent 80f2ad214b
commit 8fd118c4bc
3 changed files with 35 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
# <overflow>
The `<overflow>` CSS type represents overflow modes.
## Syntax
--8<-- "docs/snippets/type_syntax/overflow.md"
## Examples
### CSS
```sass
* {
rule: auto; /* Determine overflow mode automatically. */
rule: hidden; /* Don't overflow. */
rule: scroll; /* Allow overflowing. */
}
```
### Python
```py
overflow = "auto" # Determine overflow mode automatically.
overflow = "hidden" # Don't overflow.
overflow = "scroll" # Allow overflowing.
```