- Which units are supported?
- px, em, rem, %, pt, pc, in, cm, mm, vw, vh, vmin, vmax, ch, ex. Plus the newer container query units (cqw, cqh, cqi, cqb).
- What's my base font size?
- Configurable — default 16px (browser default). em/rem calculations depend on this; viewport units depend on window size which you set too.
- When should I use rem vs em?
- rem: always relative to root — consistent across components. em: relative to the current element's font-size — useful for proportional padding/margin within a component.
- What about cqw and cqh?
- Container query units — relative to the nearest container with `container-type` set. Make components truly responsive to their parent, not the viewport.