News for hackers. Stuff that matters.
Re:Tailwind CSS v3.2 – Introducing Container Queries, Multip... by sam_goody on Thursday October 20, 2022 @08:53AM (#33273921)
To the Tailwind team: Thanks!

You have done an amazing job, and you keep on moving things forward! I have bought everything you offer, and love the business model.

1. Question: Is there a way to support has() in all browsers? Is it on the roadmap?

2. Comment: Requiring compilation definitely allowed Tailwind to offer lots of stuff, but I'll bet it has cost many casual devs from trying and getting hooked.

3. Shameless plug: `tailwind-children`[1] adds support for `child:`, `peer:` and `descendant:`. Spread the word ;)

(Can be done with arbitrary selectors, eg. `[&>*]:` but this is more explicit and handles overrides on the child.)

[1]: https://www.npmjs.com/package/tailwind-children

There are no comments on this comment yet.