Skip to content Added
- Add
details-content variant (#15319)
- Add
inverted-colors variant (#11693)
- 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 (#16946)
- Add
any-pointer-none, any-pointer-coarse, and any-pointer-fine variants (#16941)
- Add safe alignment utilities (#14607)
- Add
user-valid and user-invalid variants (#12370)
- Add
wrap-anywhere, wrap-break-word, and wrap-normal utilities (#12128)
- Add
@source inline(…) and @source not inline(…) (#17147)
- Add
@source not "…" (#17255)
- Add
text-shadow-* utilities (#17389)
- Add
mask-* utilities (#17134)
- Add
bg-{position,size}-* utilities for arbitrary values (#17432)
- 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 (#17434)
- Improve compatibility with older versions of Safari and Firefox (#17435)
Fixed
- Follow symlinks when resolving
@source directives (#17391)
- Don't scan ignored files for classes when changing an ignored file triggers a rebuild using
@tailwindcss/cli (#17255)
- Support negated
content rules in legacy JavaScript configuration (#17255)
- Interpret syntax like
@("@")md:… as @md:… in Razor files (#17427)
- Disallow top-level braces, top-level semicolons, and unbalanced parentheses and brackets in arbitrary values (#17361)
- Ensure the
--theme(…) function still resolves to the CSS variables when using legacy JS plugins (#17458)
- Detect used theme variables in CSS module files (#17433, #17467)
Changed
- Ignore
node_modules by default (can be overridden by @source … rules) (#17255)
@source rules that include file extensions or point inside node_modules/ folders no longer consider your .gitignore rules (#17255)
- Deprecate
bg-{left,right}-{top,bottom} in favor of bg-{top,bottom}-{left,right} utilities (#17378)
- Deprecate
object-{left,right}-{top,bottom} in favor of object-{top,bottom}-{left,right} utilities (#17437)