Was ist ein Viewport-Max (vmax)?
vmax is a CSS unit equal to 1% of the viewport's larger dimension (width or height). It is useful for creating elements that scale with the larger viewport side.
Definition
Symbol
vmax
Kategorie
CSS-Einheiten
System
CSS
1 {unit} = {value} {otherUnit}
1 Viewport-Max = 19.2 Pixel (px)
1 Viewport-Max = 1.2 Rem (rem)
1 Viewport-Max = 1.2 Em (em)
1 Viewport-Max = 14.4 Punkt (pt)
1 Viewport-Max = 1.2 Pica (pc)
Häufige Verwendungen
- Background sizing
- Overlay elements
- Adaptive scaling