Skip to content
Discussion options

You must be logged in to vote

This happens because text-* and font-* are prefixes for more than one CSS property. When using arbitrary values in conjunction with an ambiguous value, Tailwind cannot infer which property you are after, so settles on some fallback.

Where this fallback is not the right choice, you can type-hint the arbitrary value to get the right property: https://play.tailwindcss.com/oESDyOWRmV.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by KazimirPodolski
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #20140 on June 02, 2026 18:57.