mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
new align
This commit is contained in:
13
docs/examples/styles/align.css
Normal file
13
docs/examples/styles/align.css
Normal file
@@ -0,0 +1,13 @@
|
||||
Screen {
|
||||
align: center middle;
|
||||
}
|
||||
|
||||
.box {
|
||||
width: 40;
|
||||
height: 5;
|
||||
margin: 1;
|
||||
padding: 1;
|
||||
background: green;
|
||||
color: white 90%;
|
||||
border: heavy white;
|
||||
}
|
||||
Reference in New Issue
Block a user