Learn Basic CSS by Building a Cafe Menu - Step 60

h1, h2 {
font-family: Impact;


Add the fallback font serif after the Impact font.

You just need to separate the fonts with a comma, the second one will be the fallback font:

font-family: font1, font2;

font1 is the main font, but if it fails, font2 will be used;

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.