Files
textual/docs/examples/styles/content_align.css
Rodrigo Girão Serrão ddd2e25038 Change statics to labels.
2022-12-15 18:10:02 +00:00

23 lines
313 B
CSS

#box1 {
content-align: left top;
background: red;
}
#box2 {
content-align-horizontal: center;
content-align-vertical: middle;
background: green;
}
#box3 {
content-align: right bottom;
background: blue;
}
Label {
width: 100%;
height: 1fr;
padding: 1;
color: white;
}