# CSS @font face Rule

## CSS @font-face Rule

In @font-face, we first define a name for the font and then point to the font file. To use the font in the HTML element, we need to refer to the name of the font through the font-family property.

## Syntax:-

Its syntax is:-
@font-face {
font-properties
}

## Further Explanation:-

Font descriptor Description
font-family Required. Defines the name of the font.
src Required. Defines the URL where the font should be downloaded from
font-stretch Optional. Defines how the font should be stretched.
font-style Optional. Defines how the font should be styled.
font-weight Optional. Defines the boldness of the font.
unicode-range Optional. Defines the range of unicode characters the font supports.