Text-transform part 1
The text-transform Property
The text-transform CSS property specifies how to capitalize an element's text. For example, it can be used to make text appear with each word capitalized.
The HTML:<p class="capitalize">
The value capitalize transforms the first
character in each word to uppercase;
all other characters remain unaffected.
</p>
The CSS:
Result:
Tap Try It Yourself to play around with the code!
Comments
Post a Comment