-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Mastering CSS
By :

Hosting your own web fonts and using proper CSS to support all browsers is slightly challenging. There are much easier ways to go about this. I really like Google Fonts; they are very easy to use and 100 percent free. The quality of the fonts is very good as well. In this section, we'll replace our hosted fonts with Google Web Fonts. The first step is to go to Google Fonts and select the two fonts we'll be using. Add a link to the CSS file in the heading of both HTML documents. Then finally, add the font name to our CSS.
Go to https://fonts.google.com/ and search for our headline font: Maven
. What's cool is that we can type in some text, say, our site title, to see how specific words will look in this font. Most font services output something like this:
So we can just type Old Chompy
and get an idea of what this font is going to look like on our h1
. We can even bump up the font size too. Let's search for and use Maven Pro; and do that by clicking the red...