This property transforms text for styling purposes. (It has no effect on the underlying content.)
Overview tablenone
text-transform: capitalize
text-transform: full-width
text-transform: lowercase
text-transform: none
text-transform: uppercase
Examples using different values for text-transform
body {
padding:50px;
font-size:22px;
}
.text--uppercase {
text-transform:uppercase;
}
.text--lowercase{
text-transform: lowercase;
}
.text--capitalize{
text-transform: capitalize;
}
.text--no-transform {
text-transform: none;
}
Using text-transform also works on greek or german letters
body {
padding:50px;
font-size:22px;
}
.text--uppercase {
text-transform:uppercase;
}
Notes
When using text-transform: capitalize; authors should not expect capitalize to follow language-specific titlecasing conventions (such as skipping articles in English).
Related specificationshttp://www.w3.org/TR/CSS2/text.html#caps-prop
http://www.w3.org/wiki/CSS/Properties/text-transform
Related pagesMicrosoft Developer Network: [Windows Internet Explorer API reference Article]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4