This commit is contained in:
Will McGugan
2022-08-17 16:11:12 +01:00
parent 29422a6d0b
commit 2650dd500d
47 changed files with 428 additions and 32 deletions

View File

@@ -24,6 +24,16 @@ For example `heavy white` would display a heavy white line around a widget.
Borders may also be set individually for the four edges of a widget with the `border-top`, `border-right`, `border-bottom` and `border-left` rules.
## Syntax
```
border: [<COLOR>] [<BORDER VALUE>];
border-top: <COLOR>] [<BORDER VALUE>];
border-right: <COLOR>] [<BORDER VALUE>];
border-bottom: <COLOR>] [<BORDER VALUE>];
border-left: <COLOR>] [<BORDER VALUE>];
```
## Border command
The `textual` CLI has a subcommand which will let you explore the various border types: