Skip to content

text-transform: lowercase

i learn something every day. today i learned a new css property.

css, for the uninitiated, is a way to control the way your site looks. you put all of your styles into a file, and then each page refers to that file. and so if you want to change the look of your site, you change one file, and the changes roll out to your pages.

so today i used “text-transform: lowercase” to permanently ban capital letters from this site. the whole capital letters ban is silly, i know, but i started my site that way back in 1998 and i’m stubborn that way.

lots of times, when i cut and paste quotes from other sources, i laboriously replace all the capital letters. or let it go, when i’m lazy. now i don’t have to worry about it. i can leave the capital letters in place, and my css file will tell your browser to remove them all. invisibly. in the background. with no work needed from me or you.

it’s a small thing. but it’s cool and it saves me some time occasionally. i can even type in all caps if i want, and you’ll never know i’m shouting.

a thank you/shout out to stex on the greymatter forums site, who mentioned this in a post there.

Post a Comment

Your email is never published nor shared. Required fields are marked *