Introduction
CSS Classes
React Components
Cssville has 75 utility classes for height. Add one to an element's class attribute to set the property, for example hei-4. Put a breakpoint name in front of a class to apply it only on screens up to that width, as in md-hei-4. Add -hover to the end to apply a class only on hover, as in hei-4-hover. Getting started explains how class names are built.
| Class name prefix | CSS properties |
|---|---|
| hei-* | height |
| max-hei-* | max-height |
| min-hei-* | min-height |
| Class name suffix | CSS properties value |
|---|---|
| *-100 | 100% |
| *-full | 100% |
| *-0 | 0px |
| *-1 | 1px |
| *-2 | 2px |
| *-3 | 4px |
| *-4 | 8px |
| *-5 | 12px |
| *-6 | 16px |
| *-7 | 24px |
| *-8 | 32px |
| *-9 | 40px |
| *-10 | 48px |
| *-11 | 64px |
| *-12 | 80px |
| *-13 | 96px |
| *-14 | 112px |
| *-auto | auto |
| *-max-content | max-content |
| *-min-content | min-content |
.hei-100 {
height: 100%;
}
.max-hei-100 {
max-height: 100%;
}
.min-hei-100 {
min-height: 100%;
}