CSS text-transform property

CSS text-transform

CSS text-transform is used for the capitalization of the text.

Using this property, user can control whether a text can be all uppercase , all lowercase or which words to be capitalized.

CSS text-transform property values are

  • uppercase
  • lowercase
  • capitalize
  • none - It is the default value. It displays the given text without changing it.

uppercase value for css text-transform property

It is used to transform all characters to uppercase letters.

Example

Try Yourself

lowercase value for css text-transform property

It is used to transform all characters to lowercase letters.

Example

Try Yourself

capitalize value for css text-transform property

It is used to transform all the first characters in each words to uppercase letters.

Example

Try Yourself