add small caps font variant #3680
Replies: 4 comments
-
I'd be interested in this too, but...
So, if this gets added, I'd advocate for following the precedent established by font-variant-numeric, meaning class names like |
Beta Was this translation helpful? Give feedback.
-
+1 |
Beta Was this translation helpful? Give feedback.
-
+1. i was just seeking out this exact thing. seems like i will have to solve it myself |
Beta Was this translation helpful? Give feedback.
-
That would be a nice addition. In the meantime, I'm using the following: <div className="text-2xl [font-variant:small-caps]"> |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Just noticed that there are font variant settings for numerals, and there's the classic
uppercase
text transform, but it would be nice to have support for small caps.Specifically:
These are nicer typographically than doing regular uppercase letterforms in fonts that support them.
Beta Was this translation helpful? Give feedback.
All reactions