In this section, we will learn what the text-transform property is and how to use it in CSS.
CSS text-transform Property Definition and Usage
As the name of the CSS `text-transform` property suggests, when the goal is to transform a text into uppercase or lowercase or capitalize it, we can use this property.
CSS text-transform Property Syntax
CSS text-transform Property Value
There are 3 values can be set for this property:
- uppercase: We use “uppercase” as the value for text-transform when the goal is to uppercase the entire letters of a text.
- lowercase: We use “lowercase” as the value for text-transform when the goal is to transform the entire letters of a text into lowercase.
- capitalize: We use “capitalize” as the value for text-transform when we want to capitalize a text content.