ما هو أقصى النافذة (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.
التعريف
الرمز
vmax
الفئة
وحدات CSS
النظام
CSS
1 {unit} = {value} {otherUnit}
1 أقصى النافذة = 19.2 بكسل (px)
1 أقصى النافذة = 1.2 Rem (rem)
1 أقصى النافذة = 1.2 Em (em)
1 أقصى النافذة = 14.4 نقطة (pt)
1 أقصى النافذة = 1.2 بيكا (pc)
الاستخدامات الشائعة
- Background sizing
- Overlay elements
- Adaptive scaling