CSS Text Transformation

CSS is the language we use to style an HTML document.
CSS describes how HTML elements should be displayed.
This tutorial will teach you CSS from basic to advanced.
Post Reply
Guest

CSS Text Transformation

Post 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
Post Reply