Should Tailwind Adopt New CSS Features Faster? #18925
Replies: 3 comments 5 replies
-
Use I don't have any opinion about the other questions. |
Beta Was this translation helpful? Give feedback.
-
It depends on your project how large an audience you want to attract. Especially for legacy or corporate projects, it's not advisable to limit the project exclusively to the latest modern versions. You could lose potential buyers, clients, or users just because the site looks broken or doesn't display as it should. Similar problems arose when v4 was introduced, where many features already available in Baseline 2023 required fallback values to ensure the content remained readable, even if not perfect. For example: Now, we could say that everyone should just use the latest versions, and that would be great - I'd like that too - but if they don't, there's nothing you can do about it. If TailwindCSS offers utilities for many new functions by default, developers won't always know which utilities work properly with which baselines. And for TailwindCSS browser support, you could only write "latest versions", which is a very strict requirement. For example,
Then there's anchor positioning, which is in a Limited status because Firefox doesn't support it, and Safari requires at least the latest version. That's quite strict. You can use it and add support manually, but for most projects and developers, that's not acceptable. In a few years, it might become part of Baseline 2025-26, and in 4-5 years, anchor usage may become standard enough that TailwindCSS will ship default utilities for it. Until then, it's a future feature, but you can supplement it manually if you accept its limitations. See more: By the way, I'm working on a baseline-based plugin where I ship my own utilities tailored to specific baselines, so you can immediately load many new utilities for personal use while maintaining compatibility with the chosen baseline. This is still a work in progress. Some related: |
Beta Was this translation helpful? Give feedback.
-
@mdtaufiquekhan Hey! Thanks for this writeup. I do agree that there's certainly features that we are missing (e.g. anchor positioning was called out specifically) however the features you mentioned in your initial message are, in fact, already in Tailwind CSS. So just for reference:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Nowadays, every application needs CSS. Writing raw CSS is fine, but using frameworks makes development faster. Personally, I find utility-first frameworks (like Tailwind or WindiCSS) much more practical than class-based ones (like Bootstrap).
Tailwind is my go-to framework because of its huge community and ecosystem. But there’s one drawback I keep noticing:
👉 Tailwind updates very slowly when it comes to adopting new CSS features.
Modern CSS evolves quickly—container queries, subgrid, cascade layers, new pseudo-classes, etc. Many of these are not yet in Tailwind. The common argument is that some of these features are not fully supported by all browsers.
But here’s my opinion:
Question to the community:
Would love to hear your thoughts 👇
Beta Was this translation helpful? Give feedback.
All reactions