Values and Units

Chapter 5

Figures

  1. Setting absolute-length left margins
  2. Using pixel lengths
  3. Using em for margins and font sizing
  4. Varying x-heights
  5. Character-relative sizing
  6. ems versus rems
  7. Viewport-relative sizing
  8. Inserting attribute values
  9. Named colors
  10. Text set in shades of gray
  11. Text set in progressive translucency
  12. Text set in progressive translucency, redux
  13. Varying lightness and hues
  14. Declared color versus default color
  15. Changing colors
  16. Changing form element foregrounds
  17. Different colors for different elements
  18. Using custom values to color headings
  19. Scoping custom values to certain contexts