tailwindcss
4.3.5 · 6 Nov 2026MIT191M / weekRepositoryHomepagenpmAtom feed
3.4.19 is the newest release of 3.x.
In short
17 new22 fixed2 changed
Release note
We just released Tailwind CSS v3.1 — the first new feature release since v3.0 came out last year!
Read the announcement post for all the details, and watch the YouTube video for a tour of some of the highlights.
Added
Support PostCSS
DocumentnodesAdd
text-startandtext-endutilitiesSupport customizing class name when using
darkMode: 'class'Add
--polloption to the CLIAdd new
border-spacingutilitiesAdd
enabledvariantAdd TypeScript types for the
tailwind.config.jsfileAdd
grid-flow-denseutilityAdd
mix-blend-plus-lighterutilityAdd arbitrary variants
Add
prefers-contrastmedia query variantsAdd opacity support when referencing colors with
themefunctionAdd
postcss-importsupport to the CLIAdd
optionalvariantAdd
<alpha-value>placeholder support for custom colors
Fixed
Types: Allow for arbitrary theme values (for 3rd party plugins)
Don’t split vars with numbers in them inside arbitrary values
Require matching prefix when detecting negatives
Handle duplicate At Rules without children
Allow arbitrary values with commas in
@applyFix intellisense for plugins with multiple
@applyrulesImprove type detection for arbitrary color values
Support PostCSS config options in config file in CLI
Remove default
[hidden]style in preflightOnly check selectors containing base apply candidates for circular dependencies
Rewrite default class extractor
Move
importantselector to the front when@apply-ing selector-modifying variants in custom utilitiesError when registering an invalid custom variant
Create tailwind.config.cjs file in ESM package when running init
Fix
matchVariantsthat use at-rules and placeholdersImprove types of the
tailwindcss/pluginAllow returning parallel variants from
addVariantormatchVariantcallback functionsTry using local
postcssinstallation first in the CLIAllow default ring color to be a function
Don't inherit
tovalue from parent gradientsRemove process dependency from log functions
Ensure we can use
@import 'tailwindcss/...'without node_modules
Changed
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.