font

英[fɒnt] 美[fɑ:nt]

n. Font; font; baptistery (located in a church, often made of stone ); (same font and size) a set of typefaces

Plural: fonts

stretch

英[stretʃ] 美[strɛtʃ]

v.Stretch;extend;continue;include

n.stretch;elasticity;a piece;a period of time

adj.scalable;elastic

Third person singular: stretches Plural: stretches Present participle: stretching Past tense: stretched Past participle: stretched

css font-stretch property syntax

Function: Can stretch and deform the current font-family.

Note: All major browsers do not support the font-stretch attribute.

css font-stretch property example

<!DOCTYPE html>
<html>
<head>
<style>
#div1 {font-stretch:condensed;}
#div2 {font-stretch:expanded;}
</style>
</head>
<body>

<p><b>Note:</b> No browsers support the font-stretch property.</p>

<div>
Some normal text in a div element.
</div>

<div id="div1">
Some condensed text in a div element.
</div>

<div id="div2">
Some expanded text in a div element.
</div>

</body>
</html>

Run instance »

Click the "Run instance" button to view the online instance