devxlogo

December 14, 2018

Capitalize the First Letter of Every Word with CSS

Use the text-transform property with ‘capitalize’ value to capitalize the first letter of the words in an element., For example: div { text-transform: capitalize; }this is a statement that requires