Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
When we discussed font-family at the beginning of this chapter, I mentioned that you have to be careful about selecting fonts, as there are only a few fonts that you can safely assume are on most users’ computers. However, CSS provides a way to use other fonts, too, by loading a font file from the server.
In theory, we can import a new font using the font-face property: