Name
text-transform — IE4 Y/Y | IE5 Y/Y | NN4 Y/Y | Op3 P/-
Synopsis
This property changes the case of the
letters in the element, regardless of the case of the original text.
The selection of letters to be capitalized by the value
capitalize
is not a precisely defined behavior,
depending as it does on “words,” which are difficult to
define in a programmatic way.
Example
H1 {text-transform: uppercase;} .title {text-transform: capitalize;}
Values
capitalize
| uppercase
|
lowercase
| none
Default
none
Inherited
yes
Applies to
all elements
Get Cascading Style Sheets: The Definitive Guide 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.