HTML and CSS functions
s/p>
"Ems" (em)
- 1 em is equal the current font-size
- Example: if the font-size of the doc is 12ot, 1em is equal to 12pt.
- They can have whole-number or decimal values
Pixels (px)
- Self-Explanatory
- Remember different devices have varying amount of pixels
Points (pt)
- Traditionally used in printed media
- Is equal to 1/72 of an inch
Percentage (%)
- Self-Explanatory
- Is used to scale things