mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
more docs and diagrams
This commit is contained in:
17
docs/examples/styles/box_sizing.css
Normal file
17
docs/examples/styles/box_sizing.css
Normal file
@@ -0,0 +1,17 @@
|
||||
Screen {
|
||||
background: white;
|
||||
color: black;
|
||||
}
|
||||
App Static {
|
||||
background: blue 20%;
|
||||
height: 5;
|
||||
margin: 2;
|
||||
padding: 1;
|
||||
border: wide black;
|
||||
}
|
||||
#static1 {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
#static2 {
|
||||
box-sizing: content-box;
|
||||
}
|
||||
Reference in New Issue
Block a user