Chapter 5. CSS Properties – Part 2
Ok, we're through Part 1 of the CSS properties. Indeed, there are many, many more properties to talk about.
Let's now move on to Part 2.
Fonts
In the world of design, fonts are one of the most powerful assets we have, and at the same time, they are one of the most underappreciated ones.
Typography is so powerful that when we use it correctly, we may even get away with not using a single image in our project.
Let's take a look at the CSS font properties, shall we?
font-family
The font-family
CSS property defines the font we want an element to use, and looks like this:
font-family: "Times New Roman", Times, Baskerville, Georgia, serif;
Description
This property can hold one or multiple font names in its declaration. There ...
Get Web Developer's Reference Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.