Name
text-transform
Values:
none|capitalize|lowercase|uppercase
Example:
H1.title { text-transform: capitalize }
Applies to:
All elements
Inherited:
Yes
This property affects the capitalization of the element. The possible values are as follows:
-
none
Displays the element as it is typed in the HTML source and neutralizes any inherited value
-
capitalize
Displays the first letter of every word in uppercase characters
-
lowercase
Displays the whole element in lowercase characters
-
uppercase
Displays the whole element in uppercase characters
Get Web Design in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.