mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Add example to grid styles docs, rename it
This commit is contained in:
20
docs/examples/styles/grid.css
Normal file
20
docs/examples/styles/grid.css
Normal file
@@ -0,0 +1,20 @@
|
||||
Screen {
|
||||
layout: grid;
|
||||
grid-size: 3 4;
|
||||
grid-rows: 1fr;
|
||||
grid-columns: 1fr;
|
||||
grid-gutter: 1;
|
||||
}
|
||||
|
||||
Static {
|
||||
color: auto;
|
||||
background: lightblue;
|
||||
height: 100%;
|
||||
padding: 1 2;
|
||||
}
|
||||
|
||||
#static1 {
|
||||
tint: magenta 40%;
|
||||
row-span: 3;
|
||||
column-span: 2;
|
||||
}
|
||||
Reference in New Issue
Block a user