mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
* border styles * docs for border styles * fix tests * tests * tests and docs * changelog * implement auto * style information fix
35 lines
662 B
Markdown
35 lines
662 B
Markdown
# Border-subtitle-background
|
|
|
|
The `border-subtitle-background` style sets the *background* color of the [border_subtitle][textual.widget.Widget.border_subtitle].
|
|
|
|
## Syntax
|
|
|
|
--8<-- "docs/snippets/syntax_block_start.md"
|
|
border-subtitle-background: (<a href="../../css_types/color"><color></a> | auto) [<a href="../../css_types/percentage"><percentage></a>];
|
|
--8<-- "docs/snippets/syntax_block_end.md"
|
|
|
|
|
|
|
|
## Example
|
|
|
|
--8<-- "docs/snippets/border_title_color.md"
|
|
|
|
|
|
|
|
## CSS
|
|
|
|
```sass
|
|
border-subtitle-background: blue;
|
|
```
|
|
|
|
## Python
|
|
|
|
```python
|
|
widget.styles.border_subtitle_background = "blue"
|
|
```
|
|
|
|
|
|
## See also
|
|
|
|
--8<-- "docs/snippets/see_also_border.md"
|