I am using the following CSS which transforms all text to uppercase:
.taxtabs {
font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
font-size: .8em;
width: inherit;
text-align:center;
text-transform: uppercase;
border-collapse: collapse;
}
Now what I would like to do is to override this CSS and allow certain text to be lowercase. How would I do that? Perhaps using some kind of inline CSS? Thanks.
Probably better to create a class that doesn't have any text-transform.
.normal {
text-transform: none;
}
<div class="taxtabs">
... <span class="normal">this text is not uppercase</span> ...
</div>
Create a class for whatever elements you don't want capped and put text-transform: none !important;
in it. I don't know your layout, so I put !important
for good measure (for example if your element had both texttabs
and override
classes).
.override {
text-transform: none !important;
}
Maybe add a new class called lowercase
to selected .textabs
so you can define something like this:
.textabs.lowercase { text-transform: lowercase; }
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With