The font-stretch property, introduced in CSS3, selects a normal, condensed or expanded face from a font. In order to use font-stretch and see a result of some kind, the font being used has to have a face that matches the value given. In other words, font-stretch will not work on just any font, but only
CSS
The font-size property specifies the size, or height, of the font. font-size affects not only the font to which it is applied, but is also used to compute the value of em, rem, and ex length units. p { font-size: 20px; } font-size can accept keywords, length units, or percentages as values. It accepts the
The font-family property defines the font that is applied to the selected element. The font that is selected is not a single font face, but a “family”, and thus may be dependent on other typographic property values to select the correct face within the family. body { font-family: Arial, Helvetica, sans-serif; } A value can
The font property in CSS is a shorthand property that combines all the following properties in one declaration. font-stretch – normal, ultra-condensed, extra-condensed, condensed, semi-condensed, semi-expanded, expanded, extra-expanded, ultra-expanded font-style – normal, italic, oblique, inherit font-variant – normal, small-caps, inherit font-weight – normal, bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900,