rem
s instead of em
s for scalable component spacing.margin-top
. Vertical margins can collapse, yielding unexpected results. More importantly though, a single direction of margin
is a simpler mental model.rem
s for margin
s.font
-related properties to a minimum, using inherit
whenever possible.