Edit:
It seems to be a futile attempt as there doesn't seem to be a way to make the first letter uppercase if there is a pseudo-element in the way, and unfortuntely the pseudo-element cannot be moved or removed as the below attempted answers would like it to be. In any case, thank you very much for all the help.
I've attached a code example just to make things a bit easier.
I'm wondering if I'm doing this correctly or if this is a futile attempt. Hope to god JavaScript is not needed for something as simple as this.
Thank you very much on any insights!
label span:before {
display: inline-block;
content: " ";
width: 10px; height: 10px;
margin-right: 10px;
border: 1px solid #333;
}
label {
text-transform: lowercase;
}
label::first-letter {
text-transform: uppercase;
}
<label>
<span>
TESTING
</span>
</label>