I added this CSS class:
.beanies {
font-variant: small-caps;
}
I call it from a couple places, coupled with another class, trying it both this way:
<p class="coolPools beanies">LICENSE #764014</p>
...and this:
<h3 class="statelyPresence, beanies">NEW POOL LAW REQUIRES IMMEDIATE ACTION AT ALL APARTMENT AND CONDOMINIUM POOLS AND SPAS</h3>
(IOW, with or without a separating comma between the two classes I'm applying to the element)
...and in neither case does the text display in small caps.
What am I doing wrong?
It is working and you are not wrong. But it is not visible because you have all capital letters.
Write this:
.beanies {
font-variant: small-caps;
text-transform: lowercase;
}
.beanies:first-letter {
text-transform: uppercase;
}