Absolute ⤢ px1/96 inch (the CSS reference pixel). Fixed UI sizing: borders, hairlines, icon dimensions. border: 1px solid #000; ⤢ pt1/72 inch (1pt = 1.333px). Print stylesheets, where sizes map to physical paper. font-size: 12pt; ⤢ cm1 centimeter (≈37.8px). Print layouts needing real-world measurements. margin: 2cm; ⤢ mm1 millimeter (≈3.78px). Fine-grained print measurements. padding: 5mm; ⤢ in1 inch (96px = 2.54cm). Print layouts sized in inches. margin: 1in; Font-relative ⤢ emThe element's own font-size (inherited from its parent). Spacing that scales together with the surrounding text. padding: 1em; ⤢ remThe root element's font-size (the html element). Font sizes: it honors the user's root font-size setting. font-size: 1.25rem; ⤢ chThe advance width of the '0' glyph in the current font. Set a readable line length (characters per line). max-width: 70ch; ⤢ exThe x-height of the current font (height of lowercase 'x'). Vertical metrics tied to the typeface. line-height: 2ex; ⤢ capThe cap height of the current font (height of a capital letter). Vertical metrics sized to capitals, tighter than ex. padding-top: 0.5cap; ⤢ icThe advance width of the '水' (water) ideograph in the current font. Sizing that tracks one CJK character cell. width: 4ic; ⤢ lhThe element's own computed line-height. Size elements in whole lines of text. height: 3lh; ⤢ rlhThe root element's line-height. Spacing in multiples of the document's base line height. margin-block: 2rlh; Viewport-relative ⤢ %The parent's value of the same property. Fluid layouts sized to the containing element. width: 50%; ⤢ vw1% of the viewport width. Full-bleed sections sized to the screen width. width: 100vw; ⤢ vh1% of the viewport height. Hero sections or overlays spanning the screen height. height: 100vh; ⤢ vmin1% of the smaller viewport dimension. Size elements to fit the screen in any orientation. font-size: 5vmin; ⤢ vmax1% of the larger viewport dimension. Fill the dominant axis of the viewport. font-size: 5vmax; ⤢ svh1% of the small viewport height (browser UI fully shown). Mobile full-height sections that fit above expanded browser chrome. height: 100svh; ⤢ lvh1% of the large viewport height (browser UI hidden). Backdrops that must cover the screen even as browser chrome collapses. height: 100lvh; ⤢ dvh1% of the dynamic viewport height, tracking browser UI as it shows and hides. The mobile fix for 100vh: the height resizes as browser chrome appears. height: 100dvh; ⤢ svw1% of the small viewport width. Width counterpart of svh for the narrowest viewport state. width: 100svw; ⤢ lvw1% of the large viewport width. Width counterpart of lvh for the widest viewport state. width: 100lvw; ⤢ dvw1% of the dynamic viewport width, tracking browser UI. Width counterpart of dvh when the viewport resizes with chrome. width: 100dvw; ⤢ vi1% of the viewport size along the inline axis (width in horizontal writing modes). Viewport sizing that follows the writing direction. width: 50vi; ⤢ vb1% of the viewport size along the block axis (height in horizontal writing modes). Viewport sizing that stays correct in vertical writing modes. height: 50vb; Fluid ⤢ clamp()A preferred value bounded by a min and a max. Fluid typography that never crosses a min or max bound. width: clamp(320px, 80vw, 1100px); ⤢ min()The smallest of its comma-separated arguments. Cap a size so it never exceeds a maximum. width: min(100%, 600px); ⤢ max()The largest of its comma-separated arguments. Enforce a minimum size that grows with the viewport. width: max(50%, 300px); Angle ⤢ deg1/360 of a full circle. Rotation transforms and gradient angle positions. transform: rotate(45deg); ⤢ radRadians; 1rad ≈ 57.2958deg. Angles computed from math, such as generated transforms. transform: rotate(1.5708rad); ⤢ gradGradians; 400grad = a full circle. Legacy or surveying-style angle values. transform: rotate(100grad); ⤢ turn1turn = one full 360° circle. Full or half rotations that read at a glance. transform: rotate(0.5turn); Time ⤢ sOne second. Animation and transition durations. transition: opacity 0.3s; ⤢ msOne millisecond (1s = 1000ms). Short UI feedback animations and delays. animation-duration: 150ms; Resolution ⤢ dpiDots per inch of output. Print-targeted resolution media queries. @media (min-resolution: 300dpi) ⤢ dppx / xDots per px unit; 1dppx equals a standard 96dpi display. Retina and high-DPI media queries. @media (min-resolution: 2x) ⤢ dpcmDots per centimeter (1dppx ≈ 2.54dpcm). Resolution media queries in metric units. @media (min-resolution: 118dpcm)