mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Events
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user