Add example to compare all heights.

This commit is contained in:
Rodrigo Girão Serrão
2022-12-20 10:40:13 +00:00
parent 08a0377986
commit 591e343a5a
2 changed files with 62 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
#cells {
height: 2; /* (1)! */
}
#percent {
height: 12.5%; /* (2)! */
}
#w {
height: 5w; /* (3)! */
}
#h {
height: 12.5h; /* (4)! */
}
#vw {
height: 7.5vw; /* (5)! */
}
#vh {
height: 12.5vh; /* (6)! */
}
#auto {
height: auto; /* (7)! */
}
#fr1 {
height: 1fr; /* (8)! */
}
#fr2 {
height: 2fr; /* (9)! */
}
VerticalRuler {
dock: right;
overflow: hidden;
width: auto;
background: $accent;
}