Packages

@tailwindcss/postcss

4.3.4 · 2 Nov 2026MIT59.4M / weekRepositoryHomepagenpmAtom feed

Your version

4.1.0

1 Apr 2025Where it was published

4.3.4 is the newest release of 4.x.

In short

2 deprecated17 new7 fixed2 changed

  • deprecated

    Deprecate bg-{left,right}-{top,bottom} in favor of bg-{top,bottom}-{left,right} utilities

  • deprecated

    Deprecate object-{left,right}-{top,bottom} in favor of object-{top,bottom}-{left,right} utilities

Release note

Added

  • Add details-content variant

  • Add inverted-colors variant

  • Add noscript variant (#11929, #17431)

  • Add items-baseline-last and self-baseline-last utilities (#13888, #17476)

  • Add pointer-none, pointer-coarse, and pointer-fine variants

  • Add any-pointer-none, any-pointer-coarse, and any-pointer-fine variants

  • Add safe alignment utilities

  • Add user-valid and user-invalid variants

  • Add wrap-anywhere, wrap-break-word, and wrap-normal utilities

  • Add @source inline(…) and @source not inline(…)

  • Add @source not "…"

  • Add text-shadow-* utilities

  • Add mask-* utilities

  • Add bg-{position,size}-* utilities for arbitrary values

  • Add shadow-*/<alpha>, inset-shadow-*/<alpha>, drop-shadow-*/<alpha>, and text-shadow-*/<alpha> utilities to control shadow opacity (#17398, #17434)

  • Add drop-shadow-<color> utilities

  • Improve compatibility with older versions of Safari and Firefox

Fixed

  • Follow symlinks when resolving @source directives

  • Don't scan ignored files for classes when changing an ignored file triggers a rebuild using @tailwindcss/cli

  • Support negated content rules in legacy JavaScript configuration

  • Interpret syntax like @("@")md:… as @md:… in Razor files

  • Disallow top-level braces, top-level semicolons, and unbalanced parentheses and brackets in arbitrary values

  • Ensure the --theme(…) function still resolves to the CSS variables when using legacy JS plugins

  • Detect used theme variables in CSS module files (#17433, #17467)

Changed

  • Ignore node_modules by default (can be overridden by @source … rules)

  • @source rules that include file extensions or point inside node_modules/ folders no longer consider your .gitignore rules

  • deprecated

    Deprecate bg-{left,right}-{top,bottom} in favor of bg-{top,bottom}-{left,right} utilities

  • deprecated

    Deprecate object-{left,right}-{top,bottom} in favor of object-{top,bottom}-{left,right} utilities