Values and Units

Chapter 4

Figures

  1. Setting absolute-length left margins
  2. Using pixel lengths
  3. Using em for margins and font sizing
  4. Varying x-heights
  5. ems versus rems
  6. Character-relative sizing
  7. Viewport-relative sizing
  8. Inserting attribute values
  9. Naming colors
  10. Text set in shades of gray
  11. Text set in progressive translucency
  12. Text set in progressive translucency, redux
  13. The spectrum on a wheel and a strip
  14. Mixing RGB to create the spectrum
  15. Varying lightness and hues
  16. Keyword-equivalent hue angles and lightnesses
  17. Using custom values to color headings
  18. Scoping custom values to certain contexts