CSS Tutorial
CSS font-stretch property –

|
The font-stretch property in CSS allows us to select a normal, expanded, or condensed face from the font’s family. This property sets the text wider or narrower compare to the default width of the font. It will not work on any font but only works on the font-family that has a width-variant face. This CSS property only works for the fonts with additional faces like expanded and condensed faces; otherwise, it will be affectless for the fonts that don’t have condensed or expanded faces. The nine keyword values for choosing the width of the font-face are given in the following syntax. SyntaxProperty ValuesThe property values of this CSS property are tabulated as follows:
Let’s understand the above property values by using an example. ExampleOutput
Next TopicCSS Colors
|




