Preview what's coming in the next version of Tailwind CSS.

After a long alpha period, we’re excited to finally release Tailwind CSS v4.0 as a beta! Although there are some rough edges, we are confident that no more breaking changes will occur between now and the stable release.

This documentation is currently a work-in-progress, but it should be sufficient to get you started. If you encounter any issues, please let us know on GitHub so we can ensure a stable release in the upcoming months.

What's new in v4.0

  • New high-performance engine
  • CSS-first configuration
  • CSS theme variables
  • Native CSS cascade layers
  • Automatic source detection
  • Built-in import support
  • Built-in CSS transpilation
  • Simplified theme configuration
  • Dynamic spacing scale
  • Modernized P3 color palette
  • Simplified variable colors
  • Container query support
  • 3D transforms
  • Linear gradient angles
  • Gradient interpolation modifiers
  • Conic and radial gradients
  • Inset shadows and rings
  • field-sizing utilities
  • color-scheme utilities
  • font-stretch utilities
  • Composable variants
  • @starting-style variant
  • not-* variant
  • inert variant
  • nth-* variants
  • in-* variant
  • :popover-open support
  • Descendant variant
continue reading on tailwindcss.com

⚠️ This post links to an external website. ⚠️