A utility-first CSS framework for rapid UI development.
We just released Tailwind CSS v3.2! Read the announcement post for more details about the most exciting new features.
@config
directive (#9405)relative: true
option to resolve content paths relative to the config file (#9396)supports-*
variant (#9453)min-*
and max-*
variants (#9558)aria-*
variants (#9557, #9588)data-*
variants (#9559, #9588)break-keep
utility for word-break: keep-all
(#9393)collapse
utility for visibility: collapse
(#9181)fill-none
utility for fill: none
(#9403)stroke-none
utility for stroke: none
(#9403)place-content-baseline
utility for place-content: baseline
(#9498)place-items-baseline
utility for place-items: baseline
(#9507)content-baseline
utility for align-content: baseline
(#9507)font-feature-settings
for a font family (#9039)node16-linux-armv7
) (#9084)outline-offset
(#9136)matchUtilities
(#9541)min
/max
/clamp
(#9237)sort
function in matchVariant
(#9423)postcss-nested
v6.0 (#9546)respectDefaultRingColorOpacity
(#9070)@apply
-ing a selector with joined classes (#9107)outline-hidden
utility (#9147)hidden
attribute on elements in preflight (#9174)fontFamily
config TypeScript types (#9214):where()
and :has()
(#9309)null
or undefined
) when resolving the classList for intellisense (#9385)content
key in custom plugin configs (#9502, #9545)--content
is used in the CLI when passed (#9587)font-weight
for each font size utility (#8763)tailwindcss
and autoprefixer
in postcss.config.js
in standalone CLI (#8769)corePluginList
type definition (#8587)addVariant
(#8608)theme()
function when using quotes (#8625)::marker
(#8622)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.
Document
nodes (#7291)text-start
and text-end
utilities (#6656)darkMode: 'class'
(#5800)--poll
option to the CLI (#7725)border-spacing
utilities (#7102)enabled
variant (#7905)tailwind.config.js
file (#7891)backdrop
variant (#7924, #8526)grid-flow-dense
utility (#8193)mix-blend-plus-lighter
utility (#8288)matchVariant
API (#8310, 34fd0fb8)prefers-contrast
media query variants (#8410)theme
function (#8416)postcss-import
support to the CLI (#8437)optional
variant (#8486)<alpha-value>
placeholder support for custom colors (#8501)@apply
(#8125)@apply
rules (#8213)[hidden]
style in preflight (#8248)important
selector to the front when @apply
-ing selector-modifying variants in custom utilities (#8313)matchVariants
that use at-rules and placeholders (#8392)tailwindcss/plugin
(#8400)addVariant
or matchVariant
callback functions (#8455)postcss
installation first in the CLI (#8270)to
value from parent gradients (#8489)@import 'tailwindcss/...'
without node_modules (#8537)