HTML and CSS functions
s/p>
CSS Font Functions
- font-size
- Adjusts the size of the text.
- List of Font Units: Click Here
- font-style
- font-family
- font-weight
- Shadow Effect
font-size
- Adjusts the size of text
- There are different units for specifying the size
- Units can be found here:
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