CSS text-transform property

Description

CSS text-transform property transforms the text for styling purposes in various forms such as capitalize, uppercase, lowercase.

Syntax

text-transform : none | capitalize | uppercase | lowercase

Property values

noneDefault

No transformation applied to the text.

text-transform: none;

capitalize

The first letter of each word is capitalized.

text-transform: capitalize;

uppercase

Every letter is capitalized.

text-transform: uppercase;

lowercase

Every letter is in its lowercase form.

text-transform: lowercase;

Applicable to

It applies to all elements

#CSS digger
Was this article helpful?

 
text transform property
×

Ctrl+D