I want to Capitalize first letter only and other should be small using CSS
String is:
SOMETHING BETTER sOMETHING bETTER Something bett
Yes, CSS is no help here. Welcome to the world of JavaScript, where anything is possible.
window.onload = function(){ var elements = document.getElementsByClassName("each-word") for (var i=0; i$1$2") } } .first-letter { color: red; } First letter of every word is now red!
First letter of every word is now red!