Tailwind CSS v1.8.0
- Date
- Adam Wathan
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-numeric
utilities (#2305) - New
place-items
,place-content
,place-self
,justify-items
, andjustify-self
utilities (#2306) - New
preserveHtmlElements
option forpurge
(#2283) - New
layers
mode forpurge
(#2288) - Support configuring variants as functions (#2309)
- Dark mode variant (experimental) (#2279)
Changes
- CSS within
@layer
at-rules are now grouped with the corresponding@tailwind
at-rule (#2312)
Deprecations
- The
conservative
purge mode has been deprecated in favor of the newlayers
mode (#2288)
Check out the full release notes on GitHub for more details.
Want to talk about this post? Discuss this on GitHub →