View Single Post
Old 09-03-2022, 05:03 AM   #36
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,994
Karma: 147448039
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Turtle91 View Post
You, of course, can do it however you want to. I was simply pointing out that applying text-transform:lowercase before font-variant:small-caps is defeating the purpose of small-caps.
The thing is, if you are changing the CSS of where the text is uppercase and a smaller font size is applied (I like 0.8333em), then you do need to make sure the letters you want to appear as smallcaps are lowercase. So you do need the text-transform: lowercase; Otherwise you won't have smallcaps. You will still have uppercase. If the text is lowercase to start with, then the text-transform won't do anything and font-variant: small-caps; will still work.

Making the text lowercase is not defeating the purpose. It's allowing the text to be changed to smallcaps. Uppercase text does not become smallcaps using small-caps.
JSWolf is online now   Reply With Quote