CSS Text-Transform Property

CSS 1

CSS 2

CSS 3

Yes Yes Yes

Description

Specifies the case of the letters within an element.

Syntax

text-transform: [value];

Possible values

  • none
  • capitalize - (First character of each word is uppercase)
  • uppercase
  • lowercase
  • inherit

Initial Value

none

Applies To

All elements

Inherited

Yes

Media

Visual

Example

#openText {text-transform: capitalize;}

Visual Example

MeSSage to test TexT TransForm property.

{ text-transform: none; }


View All CSS Properties