Is there a way to change a label text to capitalize if the label text itself is in uppercase?
I attempted the following:
<p class="capitalize">THIS IS SOME TEXT.</p>
In addition, I added:
p.capitalize {
text-transform: capitalize;
}
However, instead of getting "This Is Some Text", I am receiving "THIS IS SOME TEXT". While there are various methods to achieve this through JavaScript, I am specifically looking for a CSS-only solution.
Thank you in advance.