mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
639 B
639 B
Border-title-background
The border-title-background style sets the background color of the [border_title][textual.widget.Widget.border_title].
Syntax
--8<-- "docs/snippets/syntax_block_start.md" border-title-background: (<color> | auto) [<percentage>]; --8<-- "docs/snippets/syntax_block_end.md"
Example
--8<-- "docs/snippets/border_title_color.md"
CSS
border-title-background: blue;
Python
widget.styles.border_title_background = "blue"
See also
--8<-- "docs/snippets/see_also_border.md"