Files
textual/docs/styles/border_subtitle_background.md
2023-12-20 17:11:30 +00:00

661 B

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: (<color> | auto) [<percentage>]; --8<-- "docs/snippets/syntax_block_end.md"

Example

--8<-- "docs/snippets/border_title_color.md"

CSS

border-subtitle-background: blue;

Python

widget.styles.border_subtitle_background = "blue"

See also

--8<-- "docs/snippets/see_also_border.md"