font-face

The @font-face rule allows you to define font settings, as well as download a specific font to the user's computer for display in the browser.

Inside the @font-face construct, there can be a set of properties for changing font parameters (font-family, font-size, font-style, etc.), as well as a link to a font file. The link is written as src: url(URI), where URI is a relative or absolute path to the file.

Syntax


@font-face {
    /* font options */
}