The text-transform property
changes the case of text. The supported values are: none,
capitalise,
uppercase and lowercase.
For example:
h2 {text-transform: capitalise}
It is pretty obvious what the values mean:
-
Uppercase. Every character appears in capital letters
-
Lowercase. Every character appears in lower case
-
Capitalise. The first letter of every word is a capital letter (this includes
words like of, but, and)
-
None. No change to the text
|
|
More information
Text formatting
text-align
text-decoration
text-indent
text-shadow
text-transform
letter-spacing
line-height
vertical-align
whitespace
word-spacing
|