The best CSS text-transform property Tutorial In 2024, In this tutorial you can learn Examples,Attribute definitions and instructions,Browser Support,Property Value,related articles,
Convert between different elements of the text:
Text-transform property controls the capitalization of text.
Defaults: | none |
---|---|
inherit: | yes |
version: | CSS1 |
JavaScript syntax: | object .style.textTransform = "uppercase" |
Figures in the table represent the first browser to support the version number of the property.
属性 | |||||
---|---|---|---|---|---|
text-transform | 1.0 | 4.0 | 1.0 | 1.0 | 7.0 |
value | description |
---|---|
none | default. Defined text with lowercase and uppercase letters standards. |
capitalize | Text each word with a capital letter. |
uppercase | Defined only capital letters. |
lowercase | No definition of uppercase letters, lowercase letters only. |
inherit | Provisions should inherit values text-transform property from a parent element. |
CSS tutorial: CSS the Text