You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using Tailwind CSS v4 with the new CSS-based configuration, utility classes appear to be ordered alphabetically rather than respecting the source order in CSS files, which breaks expected CSS cascade behavior.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
When using Tailwind CSS v4 with the new CSS-based configuration, utility classes appear to be ordered alphabetically rather than respecting the source order in CSS files, which breaks expected CSS cascade behavior.
CSS:
HTML:
Expected Behavior
Actual Behavior
In v3 the screen was dark, as expected.
Reproduction:
https://play.tailwindcss.com/wowgLKaXx7
Beta Was this translation helpful? Give feedback.
All reactions