1/*HTMl*/
2<p >Initial String
3 <h2>Lorem ipsum dolor sit amet</h2>
4</p>
5<div class="heading">
6 This will be capitalize
7</div>
8
9 /*CSS*/
10.heading {
11 text-transform: capitalize;
12}
13/*OTHER TEXT TRANSFORM*/
14text-transform: none;
15text-transform: capitalize;
16text-transform: uppercase;
17text-transform: lowercase;
18text-transform: full-width;
19text-transform: full-size-kan
1.class_name {
2 text-transform: none|capitalize|uppercase|lowercase|initial|inherit;
3}
1.link {
2 text-transform: lowercase;
3}
4
5.link::first-line {
6 text-transform: capitalize;
7}