Page 1 of 1

CSS Text Transformation

Posted: Fri Oct 27, 2023 8:22 am
by Guest
CSS Text Transformation


Text Transformation
The text-transform property is used to specify uppercase and lowercase letters in a text.
It can be used to turn everything into uppercase or lowercase letters, or
capitalize the first letter of each word:

Example

p.uppercase {  text-transform: uppercase;}
p.lowercase {  text-transform: lowercase;}
p.capitalize {  text-transform: capitalize;}
Try it Yourself »


The CSS Text Transformation Property


Property
Description


text-transform
Controls the capitalization of text















+1

Reference: https://www.w3schools.com/css/css_text_ ... mation.asp