mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
docs
This commit is contained in:
@@ -4,9 +4,10 @@ from textual.widget import Widget
|
||||
|
||||
class WidthApp(App):
|
||||
CSS = """
|
||||
Widget {
|
||||
background: blue 50%;
|
||||
Screen > Widget {
|
||||
background: green;
|
||||
width: 50%;
|
||||
color: white;
|
||||
}
|
||||
"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user