Maintaining Tailwind in Legacy Environments – v3 LTS or v4 Polyfill Options? #17547
Replies: 2 comments
-
Beta Was this translation helpful? Give feedback.
-
Tailwind v4 Compatibility Solution for Legacy Browsers I completely understand the concerns about Tailwind v4's modern CSS features (like oklch()) breaking in older browsers (Safari 10, Firefox 80, Chrome 80, etc.). Like you, I found that polyfills didn't work effectively. My Solution: Test Results: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
We've recently migrated our website to Tailwind CSS v3, which has been working great for our needs. However, we're required to support a fairly broad range of older browsers—including Safari 10, Firefox 80, and Chrome 80 —which v3 handles without issue.
We're currently evaluating Tailwind CSS v4, but running into compatibility challenges due to the reliance on newer CSS features. We've experimented with polyfills, but haven't had success in getting them to work reliably across our supported browsers.
A couple of questions for the team or the community:
We’d really prefer not to fall back to vanilla CSS, as Tailwind has been a huge productivity and consistency boost for our team. Any advice or roadmap insights would be appreciated.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions