/

HTML / CSS / JavaScript Tutorial

CSS Property: font-stretch

[this page | pdf | back links]

The CSS (CSS3) font-stretch property makes text in an element narrower or more stretched out than usual.

 

Valid property values (other than inherit and initial) are:

 

Value

Description

condensed

Narrower than semi-condensed

expanded

Wider than semi-expanded

extra-condensed

Narrower than condensed

extra-expanded

Wider than expanded

normal

(default value). No adjustment applied

semi-condensed

Narrower than normal

semi-expanded

Wider than normal

ultra-condensed

Narrower than extra-condensed

ultra-expanded

Wider than extra-expanded

 

Default Value:

normal

JavaScript syntax:

e.g. object.style.fontStretch="condensed"

Inherited:

Yes

Animatable:

Yes

 


NAVIGATION LINKS
Contents | Prev | Next | CSS Properties


Desktop view | Switch to Mobile