Update Dec 19, 2023 tracked by Updatify
v3.4.0
<img alt=”Tailwind CSS” src=”https://github.com/tailwindlabs/tailwindcss/assets/882133/cf6ee749-cce4-45e9-b15f-e081a6353833” width=”768”>
Tailwind CSS v3.4 has arrived! Check out the announcement post for a guided tour through all of the highlights.
Added
-
Add
svh,lvh, anddvhvalues to defaultheight/min-height/max-heighttheme (#11317) -
Add
has-*variants for:has(...)pseudo-class (#11318) -
Add
text-wraputilities includingtext-balanceandtext-pretty(#11320, #12031) -
Extend default
opacityscale to include all steps of 5 (#11832) -
Update Preflight
htmlstyles to include shadow DOM:hostpseudo-class (#11200) -
Increase default values for
grid-rows-*utilities from 1–6 to 1–12 (#12180) -
Add
size-*utilities (#12287) - Add utilities for CSS subgrid (#12298)
-
Add spacing scale to
min-w-*,min-h-*, andmax-w-*utilities (#12300) -
Add
forced-color-adjustutilities (#11931) -
Add
forced-colorsvariant (#11694, #12582) -
Add
appearance-autoutility (#12404) -
Add logical property values for
floatandclearutilities (#12480) -
Add
*variant for targeting direct children (#12551)