Add pages for horizontal and vertical types.

This commit is contained in:
Rodrigo Girão Serrão
2022-12-21 20:58:27 +00:00
parent d7049c89a0
commit 32fb2ec147
4 changed files with 68 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
# <horizontal>
The `<horizontal>` CSS type represents a position along the horizontal axis.
## Syntax
--8<-- "docs/snippets/type_syntax/horizontal.md"
## Examples
### CSS
```sass
* {
rule: left;
rule: center;
rule: right
}
```
### Python
```py
horizontal = "left"
horizontal = "center"
horizontal = "right"
```

View File

@@ -0,0 +1,27 @@
# &lt;vertical&gt;
The `<vertical>` CSS type represents a position along the vertical axis.
## Syntax
--8<-- "docs/snippets/type_syntax/vertical.md"
## Examples
### CSS
```sass
* {
rule: top;
rule: middle;
rule: bottom
}
```
### Python
```py
vertical = "top"
vertical = "middle"
vertical = "bottom"
```