Skip to content

Challenge Specify How Fonts Should Degrade

SaintPeter edited this page · 1 revision
Clone this wiki locally

There are several default fonts that are available in all browsers. These include Monospace, Serif and Sans-Serif.

For example, if you wanted an element to use the Helvetica font, but also degrade to the Sans-Serif font when Helvetica wasn't available, you could use this CSS style: p { font-family: Helvetica, Sans-Serif; }.

Something went wrong with that request. Please try again.