Frontend: CSS Units
Conventions for units in CSS, organized by topic.
Topics
- rem-base.md: Make rem the base unit and limit values to a set of steps humans can grasp intuitively. Includes how to handle
1pxand how to convert existing styles. - zero.md: How to handle the unit on a value of 0.
<length>is unitless; types that require a unit, such as<time>/<angle>, keep the unit even at zero.


