Is there a way I can make an exception to text-transform: lowercase; such that the word 'I' (i.e. a space, followed by the letter I, followed by a space) would still be rendered as a capital?
Thanks.
If you can wrap the I inside a span tag, you can override the case.
.text {
text-transform: lowercase;
}
.text span {
text-transform: uppercase;
}
<div class="text">All lowercase BUT <span>I</span> is uppercase</div>
.pronounI {text-transform: uppercase !important;} and <span class="pronounI">I</span> I was hoping there may be a way to automate this in CSS.