tailwindcss
tailwindcss copied to clipboard
feat: add contain utilities
This adds utilities for the contain property, which is supported in all evergreen browsers by now 🙏👌
After that, contain-intrinsic-* (height/width/size) could be a nice addition too (but lacks browser support right now).
The containe-intrinsic-* is for content-visibility which is a massive performance gainer but not supposed in most of the browsers 🥲.
Hey @manniL! Thanks for the contribution. We'll get this merged in soon via https://github.com/tailwindlabs/tailwindcss/pull/12993.