Font Sizes: Relative vs. Absolute
As a general guideline with CSS, relative measurements are better than absolute measurements.
- Relative
- "rem" units
- Relative to UA settings:
xx-small | x-small | small | medium | large | x-large | xx-large
rem
- relative to the html "em" (root em)- Relative to context:
larger | smaller
- Percentage (%)
- "em" units
- Absolute
- "pt" sizes (8pt, 10pt, 12pt)