mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Add docs for Placeholder.
This commit is contained in:
50
docs/examples/widgets/placeholder.css
Normal file
50
docs/examples/widgets/placeholder.css
Normal file
@@ -0,0 +1,50 @@
|
||||
Placeholder {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
#top {
|
||||
height: 50%;
|
||||
width: 100%;
|
||||
layout: grid;
|
||||
grid-size: 2 2;
|
||||
}
|
||||
|
||||
#left {
|
||||
row-span: 2;
|
||||
}
|
||||
|
||||
#bot {
|
||||
height: 50%;
|
||||
width: 100%;
|
||||
layout: grid;
|
||||
grid-size: 8 8;
|
||||
}
|
||||
|
||||
#c1 {
|
||||
row-span: 4;
|
||||
column-span: 8;
|
||||
}
|
||||
|
||||
#col1, #col2, #col3 {
|
||||
width: 1fr;
|
||||
}
|
||||
|
||||
#p1 {
|
||||
row-span: 4;
|
||||
column-span: 4;
|
||||
}
|
||||
|
||||
#p2 {
|
||||
row-span: 2;
|
||||
column-span: 4;
|
||||
}
|
||||
|
||||
#p3 {
|
||||
row-span: 2;
|
||||
column-span: 2;
|
||||
}
|
||||
|
||||
#p4 {
|
||||
row-span: 1;
|
||||
column-span: 2;
|
||||
}
|
||||
Reference in New Issue
Block a user