CSS Text Transform
The text-transform
property in CSS modifies the capitalization or case of text within an element, allowing you to change how the text is displayed.
Basic Usage of the text-transform
Property
The text-transform
property can take several values:
text-transform: none;
: Default behavior, displays text as it is.text-transform: uppercase;
: Converts text to all uppercase.text-transform: lowercase;
: Converts text to all lowercase.text-transform: capitalize;
: Capitalizes the first character of each word.