CSS font property

Description

CSS font is a shorthand property of font-size, font-style, font-weight, font-variant, font-stretch, line-height, and font-family.

Some of the shorthand properties given in the syntax are not supported by the browsers.

Syntax

font : font-style    font-variant    font-weight    font-stretch      font-size   /   line-height    font-family

Applicable to

It applies to all elements

#CSS digger
Was this article helpful?

 
We are learning the properties of fonts.
×

Ctrl+D