HTML Dog
Skip to navigation

CSS Property: text-transform

Converts the case of letters — to uppercase, lowercase, or capitalized.

font-weight, font-style, font-variant, and text-transform.

Possible Values

ValueDescription
none
uppercaseAll characters converted to uppercase.
lowercaseAll characters converted to lowercase.
capitalizeThe first character of each word is converted to uppercase. Other characters remain unchanged.
inherit

Example


h1 { text-transform: uppercase; }

Browser support