From the course: Responsive Typography Techniques
Unlock the full course today
Join today to access over 24,900 courses taught by industry experts.
Challenge: Handling your own web font events - CSS Tutorial
From the course: Responsive Typography Techniques
Challenge: Handling your own web font events
Now that you had a chance to see how the web font loader works, why not take a chance to use it for yourself? In this challenge, your objectives are to choose a different font from the Google Font library for our headline, and once you have that chosen, create two CSS rules around the web font events. One for when the new title web font is loading, and one for if the web font is inactive. Overall this challenge should take you about 20 minutes as long as you don't spend too long picking a new font. Once you have your solution, check the next video and see what I came up with. Once again, there's no right or wrong answer here, but it's fun to compare notes and see what we came up with.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Maintaining line lengths for comfortable reading across screen sizes6m 5s
-
(Locked)
Using media queries to set natural typographic breakpoints9m 10s
-
Controlling line breaks for headings5m 15s
-
(Locked)
Managing flashes of unstyled text (FOUT) using web font events6m 25s
-
(Locked)
Challenge: Handling your own web font events40s
-
(Locked)
Solution: Handling your own web font events2m 17s
-
(Locked)
-
-