← All writing
Frontend19 Dec 20234 min read

Tailwind CSS 3.4: dynamic viewports, :has(), and subgrid

Mark Topper
Mark Topper
Founder · Ulties
Tailwind CSS 3.4: dynamic viewports, :has(), and subgrid

Published on 19 December 2023, Tailwind CSS 3.4 widened the framework's coverage of modern layout and selector capabilities.

Tailwind 3.4 arrived just before the bigger architectural jump of v4, but it was already pointing in the same direction: closer to the platform, less plugin ceremony, and stronger support for real-world layout work.

The release highlights are dynamic viewport units, `:has()` support, balanced text wrapping, subgrid, better spacing and selector ergonomics, and more direct access to newer browser capabilities from utility classes.

For design-system teams, this was a high-value release because it reduced the number of places where custom CSS still had to step in for common responsive and editorial patterns.

Share
XLinkedIn
Read next

PHP 8.3: typed class constants and JSON validation without hacks

PHP