SyntaxFix
Write A Post
Hire A Developer
Questions
You can't do that purely with CSS. There is a text-transform attribute, but it only accepts none, capitalize, uppercase, lowercase and inherit.
text-transform
none
capitalize
uppercase
lowercase
inherit
You might want to look into either a JS solution or a server-side solution for that.