The text-transform property is used to control the capitalization of the text.
The text-transform property contains following information:
- value: capitalize, uppercase, lowercase, none or inherit;
- initial: none;
- applies to: all elements;
- inherited: yes;
- percentages: N/A;
- media: visual;
- computed value: as specified.
The value capitalize puts the first character of each word in uppercase while uppercase and lowercase change every letter of each word in uppercase and lowercase respectively.
Example
CSS text-transform property example:
Comments
No comments have been made yet.
Please login to leave a comment. Login now