Harvard Extension School
CSCI E-12 Fundamentals of Web Site Development | Spring 2020

## CSS Values and Units

- Length
  em, pt, ex, mm, cm, in, px
  e.g. `1.0em`
- Percentage
  e.g.`10%`
- URL
  url(url goes here)
  e.g. `url('../images/banner.png')`
- Color
  name, hexadecimal, rgb value
  e.g.
  - name
    - `aqua`
  - hexadecimal
    - `#ffd`
    - `#60ae9f`
  - rgb (percent or numeric)
    - `rgb(24,50,255)`
    - `rgb(5%,20%,75%)`

Copyright © David Heitmeyer