Add examples for min/max width/height.

This commit is contained in:
Rodrigo Girão Serrão
2022-12-22 17:45:55 +00:00
parent d5da65a44b
commit d0c744d8d9
8 changed files with 166 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
Horizontal {
height: 100%;
width: 100%;
}
Placeholder {
height: 100%;
width: 1fr;
}
#p1 {
max-height: 10w;
}
#p2 {
max-height: 999; /* (1)! */
}
#p3 {
max-height: 50%;
}
#p4 {
max-height: 10;
}