Join Val Head for an in-depth discussion in this video Solution: Handling your own web font events, part of Responsive Typography Techniques.
…For my solution to our challenge, I chose Lily Script One…as the font I was going to replace the headline font with.…I got that from Google Fonts, as you can see here, and it…only has one weight of 400, so that really kind of narrowed down my options.…When I put it in our example page, it looks a little like this.…I also changed the letter spacing and margins…around the first and third line of our headline.…Just to balance things out a little better with our very cursive-y script.…We'll take a look at the CSS that I changed and I made a couple of changes.…
First of all, I added the font family of Lily Script One to my h1.…And Google offered the fallback font of…Cursive originally, but I thought that Georgia actually…looked a lot closer to Lily Script One, even though it's not a cursive font.…The weight and size of the letters was much closer to…what I was using than Cursive was, so I got rid of…that and made my fallback font Georgia. Below that I added two classes.…One for when Lily Script One is loading, and I've got this big long class name from…
- Deciding between self-hosted and hosted web fonts
- Sizing your type with pixels, ems, and rems
- Applying and choosing a typographic scale
- Creating a font stack
- Maintaining line lengths
- Using media queries to set natural typographic break points
Skill Level Intermediate
1. Comparing and Choosing Web Fonts
2. Establishing Rhythm in Your Typographic System
3. Creating Type Prototype Pages
Establishing the font stack7m 32s
4. Setting Type for Readability Across Screen Sizes
5. Helpful Online Tools and Scripts
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.