Hacker News new | past | comments | ask | show | jobs | submit login

Looks good.

I am glad that they support container-queries[1].

But all the real goodness is in contain[2] (which sounds the same but is not related).

Tailwind really needs to support contain. I am disappointed by their statement that there will be no major additions, because contain is really that important - both from a dev perspective, and from a performance perspective. It belongs in v4 from the start.

[1]: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_contain... [2]: https://developer.mozilla.org/en-US/docs/Web/CSS/contain






Looks like the contain utility has been added here [1] and is also available in v4.

[1]: https://github.com/tailwindlabs/tailwindcss/pull/12993




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: