This forum is now read-only. Please use our new forums at discuss.codecademy.com.

CSS: An Overview Forum

View Course » View Exercise

157 points
Aa2011bf66ace6bbdf8253564c6d9df7?s=140&d=retro
Submitted by
Andrew Chen
over 3 years ago

Css Review Fall back

all back!

As we've seen, sometimes a user's computer doesn't have the mega sweet fonts we wish it had. For that reason, we give their browser a few fallback choices!
Instructions

Set the p font-family to Garamond.
Give h1 a backup font of sans-serif and p a backup font of serif. Check the Hint if you need a refresher!

I don't know how to do it. please help me. Thank you very much


1 vote

permalink

p{
font-family:garamond, sans-serif, serif;
}

something like that. so garamond will be our choice font, unless we can't display it, then sans-serif, then serif.

for more research go here http://www.w3schools.com/cssref/css_websafe_fonts.asp

630 points
E1865fda28585205c1f729ef1ea11038?s=140&d=retro
Submitted by
daireof
over 3 years ago