Tailwind CSS v4.1 introduces text-shadow utilities, mask elements with images and gradients, improved compatibility with older browsers, fine-grained text wrapping with overflow-wrap, colored drop shadows, and new utilities for targeting input devices. Additional features include aligning items to the last baseline, safe

11m read timeFrom tailwindcss.com
Post cover image
Table of contents
New text-shadow-* utilitiesMask elements with the mask-* utilitiesFine-grained text wrapping with overflow-wrapColored drop-shadow supportTarget input devices with pointer-* and any-pointer-*Align items to the last baselineKeep content visible with safe alignmentIgnore specific paths with @source notSafelist specific utilities with @source inline(…)A bunch of other new variantsTarget inverted-colors modeNew noscript variantBetter form validation with user-valid and user-invalid
3 Comments

Sort: