Is there a way to make the first character Uppercase in a label in CSS.
Here is my HTML:
<a class="m_title" href="">gorr</a>
<a class="m_title" href="">trro</a>
<a class="m_title" href="">krro</a>
<a class="m_title" href="">yrro</a>
<a class="m_title" href="">gwwr</a>
There’s a property for that:
If your links can contain multiple words and you only want the first letter of the first word to be uppercase, use
:first-letterwith a different transform instead (although it doesn’t really matter). Note that in order for:first-letterto work youraelements need to be block containers (which can bedisplay: block,display: inline-block, or any of a variety of other combinations of one or more properties):