Which unit to use?
For typography, use
remFor box model properties (
margin/padding/border), usepxFor
width/height, use%orpxFor
color, usehsl
Last updated
Was this helpful?
For typography, use rem
For box model properties (margin/padding/border), use px
For width/height, use % or px
For color, use hsl
Last updated
Was this helpful?