September 2014
Intermediate to advanced
148 pages
2h 15m
English
CHAPTER 13
![]()
Font
The font properties can be used to change aspects of the font and to load custom fonts. They can be applied to any element and they all inherit.
font-family
font-family sets the face of the font. Its value can be a specific font name such as times or verdana; or a generic family name such as sans-serif, serif, or monospace.
font-family : inherit | <family-names> | <generic-families>
The value for this property is a prioritized list of one or more font names. If a browser does not have access to the first font, it uses the next font and so on.
font-family: "Times New Roman", times, serif;
It is recommended to end the list with a ...
Read now
Unlock full access