This content originally appeared on Stefan Judis Web Development and was authored by Stefan Judis
Today I saw a Tweet from Marko Denic that unveiled a nifty CSS trick. I use the text-transform
CSS property primarily to display an element with uppercase characters (be careful with this property, though).
Today I learned that capitalizing is a thing, too!
.something {
text-transform: capitalize;
}
/* "hello world" will be displayed as "Hello World" */
I'm not sure if I'll use that often, but it's good to know for sure!
Reply to Stefan
This content originally appeared on Stefan Judis Web Development and was authored by Stefan Judis
![](https://www.radiofree.org/wp-content/plugins/print-app/icon.jpg)
Stefan Judis | Sciencx (2021-03-06T23:00:00+00:00) Text transforms support capilization (#tilPost). Retrieved from https://www.scien.cx/2021/03/06/text-transforms-support-capilization-tilpost/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.