Replies: 1 comment
-
See this maintainer response: #16343 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In tailwind 3, you could use a utility like
font-display
which would apply both a font weight and font family for that class, if defined in the config.However, that does not seem to work in tailwind 4.
Conceivably, one could do this:
But only one
.font-display { }
class ends up being output.The docs here, are suspiciously absent on details on how to set font weight, leaving the user wondering how to approach this:
Ideas? A play for reference:
Play
Beta Was this translation helpful? Give feedback.
All reactions