CSS text-transform property

Usage

Changes the appearance of letters within text.

Values

  • none
  • capitalize - changes only the first letter of each word to a capital letter
  • uppercase - makes all letters in a word to capital letters
  • lowercase - makes all letters in a word lower case

Example

Code:

p {
  text-transform: uppercase;
}