CSS Font Stretch

Please Share On:

Definition:

CSS font-stretch property is used to stretch the text wider or narrower.

Note: If the selected font doesn’t offer condensed or expanded, the font has no changes.

Syntax:

font-stretch: ultra-condensed | extra-condensed | condensed | semi-condensed | normal |  | semi-expanded | expanded | extra-expanded | ultra-expanded

Property Value:

Property ValueDescription
1. ultra-condensedmake the text as narrow as it goes
2. extra-condensednarrow the text than condensed, but not as narrow as ultra-condensed.
3. condensednarrow the text than semi-condensed, but not as narrow as condensed.
4. semi-condensednarrow the text than normal, but not as narrow as condensed.
5. normalThis is default value. It doesn’t stretch the text.
6. semi-expandedexpand the text than normal, but not as wide as expanded.
7. expandedexpand the text than semi-expanded, but not as wide as extra-expanded.
8. extra-expandedexpand the text than expanded, but not as wide as ultra-expanded.
9. ultra-expandedmake the text as wider as it goes

Donate to support writers


You may be interested in the following topics:

Leave a Reply

Your email address will not be published. Required fields are marked *

Copyright @2023. All Right Reserved.


Social media & sharing icons powered by UltimatelySocial