Qu'est-ce qu'un Min. fenêtre (vmin) ?
vmin is a CSS unit equal to 1% of the viewport's smaller dimension (width or height). It is useful for creating elements that scale with the smaller viewport side.
Définition
Symbole
vmin
Catégorie
Unités CSS
Système
CSS
1 {unit} = {value} {otherUnit}
1 Min. fenêtre = 10.8 Pixel (px)
1 Min. fenêtre = 0.675 Rem (rem)
1 Min. fenêtre = 0.675 Em (em)
1 Min. fenêtre = 8.1 Point (pt)
1 Min. fenêtre = 0.675 Pica (pc)
Utilisations courantes
- Responsive text sizing
- Adaptive layouts
- Square-ratio elements