Update index.md (#20151)

This commit is contained in:
Talia Kaplanian
2018-10-27 23:58:26 -04:00
committed by Christopher McCormack
parent 62139160f5
commit c09dce92dd

View File

@ -17,6 +17,7 @@ p {
In the above example, "Times New Roman" is the <family-name> of the font, while "serif" is the <generic-name>. Generic names are used as a fallback
mechanism for preserving style if the family-name is unavailable. A generic name should always be the last item in the list of font family names. Generic
family names are serif, sans-serif, monospace, cursive, fantasy, system-ui.
In addition to specifying common fonts that are found on most operating systems, custom web fonts can be used as well. To import such a font, copy the font URL from the library and reference it in the HTML.
### Font style
The `font-style` property can be used to specify italic text.