Tailwind CSS v1.8 is now available with a handful of new utilities, a couple new features, and an exciting new experiment!
New features
- New
font-variant-numericutilities (#2305) - New
place-items,place-content,place-self,justify-items, andjustify-selfutilities (#2306) - New
preserveHtmlElementsoption forpurge(#2283) - New
layersmode forpurge(#2288) - Support configuring variants as functions (#2309)
- Dark mode variant (experimental) (#2279)
Changes
- CSS within
@layerat-rules are now grouped with the corresponding@tailwindat-rule (#2312)
Deprecations
- The
conservativepurge mode has been deprecated in favor of the newlayersmode (#2288)
Check out the full release notes on GitHub for more details.
Want to talk about this post? Discuss this on GitHub →