CSS properties in Tailwind
110 CSS properties, each with every value that has a Tailwind class, read out of Tailwind v4.3.3 at build time. Use these to check a single property, or paste a whole stylesheet into the converter.
Layout
- display28 classesEvery display value Tailwind supports is its own bare utility — the value is the class name, with no
display-prefix. - position5 classesThe five position keywords map to bare utilities of the same name;
staticis the browser default but still has a class, for overriding. - top102 classesOffsets share the spacing scale with padding and margin, so
top: 8pxbecomestop-2on a 0.25rem base. - right102 classesThe physical-side offset; Tailwind also ships
end-*for the logical equivalent that flips in RTL. - bottom102 classesOffsets share the spacing scale with padding and margin, so
bottom: 8pxbecomesbottom-2on a 0.25rem base. - left102 classesThe physical-side offset; Tailwind also ships
start-*for the logical equivalent that flips in RTL. - inset102 classesThe four-side shorthand becomes
inset-*, and the commoninset: 0collapses toinset-0. - float5 classesFloat keywords map one-to-one, with
float-startandfloat-endas the direction-aware pair. - clear6 classesMirrors float: the same keywords, the same logical
clear-start/clear-endadditions. - visibility3 classesThree keywords, three utilities — note
invisiblestill occupies layout space, unlikehiddenwhich isdisplay: none. - z-index12 classesThe default scale is sparse (0, 10, 20, 30, 40, 50); anything else needs an arbitrary value like
z-[60]. - overflow13 classesThe shorthand maps directly, and the per-axis
overflow-x-*/overflow-y-*utilities cover the long-hand forms. - overflow-x5 classesHorizontal overflow gets its own utility family, most often reached for as
overflow-x-autoon a wide table. - overflow-y5 classesVertical overflow gets its own utility family, most often reached for as
overflow-y-autoon a scrolling pane. - box-sizing2 classesTailwind sets
border-boxglobally in its preflight, sobox-contentis the one you will actually write. - isolation2 classesTwo utilities, used to create a stacking context so a blend mode or a z-index stays contained.
Flexbox & Grid
- flex-direction4 classesDirection is folded into the
flex-*family, soflex-direction: columnisflex-col— you still needflexalongside it. - flex-wrap3 classesThree wrap keywords become
flex-wrap,flex-wrap-reverseandflex-nowrap. - flex-grow2 classesOnly 0 and 1 have named utilities; any other growth factor needs an arbitrary value like
grow-[2]. - flex-shrink2 classesOnly 0 and 1 have named utilities, and
shrink-0is the one that stops a flex child collapsing. - flex-basis61 classesBasis draws on the spacing scale plus a set of fractions, so
flex-basis: 50%becomesbasis-1/2. - flex30 classesThe shorthand has a handful of named forms (
flex-1,flex-auto,flex-initial,flex-none); anything else becomes arbitrary. - order26 classesInteger order values 1-12 have utilities, plus
order-first,order-lastandorder-none. - align-items8 classesBecomes the
items-*family, wherealign-items: centeris the very commonitems-center. - align-self9 classesBecomes the
self-*family, for overriding the container alignment on one child. - justify-content11 classesBecomes the
justify-*family — the main-axis counterpart toitems-*. - justify-items7 classesBecomes
justify-items-*, a grid-only property that sets inline-axis alignment for every cell. - justify-self7 classesBecomes
justify-self-*, overriding the grid container inline-axis alignment for one item. - place-items7 classesThe align/justify shorthand, where
place-items-centeris the shortest route to centring in a grid. - place-content10 classesThe content-distribution shorthand, mapping to
place-content-*. - gap35 classesGap uses the spacing scale, so
gap: 12pxbecomesgap-3on the default 0.25rem base. - row-gap35 classesThe per-axis gap becomes
gap-y-*, which is the axis name Tailwind uses rather thanrow. - column-gap35 classesThe per-axis gap becomes
gap-x-*, which is the axis name Tailwind uses rather thancolumn. - grid-template-columns14 classesOnly the repeated equal-width forms have utilities:
repeat(3, minmax(0, 1fr))isgrid-cols-3, and anything irregular becomes arbitrary. - grid-template-rows14 classesMirrors columns: equal-height
repeat()tracks becomegrid-rows-*, bespoke track lists do not. - grid-column14 classesSpans map to
col-span-*and explicit lines tocol-start-*/col-end-*. - grid-row14 classesSpans map to
row-span-*and explicit lines torow-start-*/row-end-*. - grid-auto-flow5 classesBecomes
grid-flow-*, including the dense packing variants. - grid-auto-columns4 classesBecomes
auto-cols-*, covering the auto, min, max and fr keywords. - grid-auto-rows4 classesBecomes
auto-rows-*, covering the auto, min, max and fr keywords.
Spacing
- padding35 classesA single value becomes
p-*on the spacing scale; the two- and four-value shorthands split into the axis and side utilities. - padding-top35 classesBecomes
pt-*, one of the four side utilities the padding shorthand expands into. - padding-right35 classesBecomes
pr-*; the logical equivalent Tailwind also ships ispe-*. - padding-bottom35 classesBecomes
pb-*, one of the four side utilities the padding shorthand expands into. - padding-left35 classesBecomes
pl-*; the logical equivalent Tailwind also ships isps-*. - margin70 classesBecomes
m-*on the spacing scale, and negative margins keep the sign as a prefix:-m-2. - margin-top70 classesBecomes
mt-*, andmargin-top: autobecomesmt-autofor pushing an item to the bottom of a flex column. - margin-right70 classesBecomes
mr-*; the logical equivalent Tailwind also ships isme-*. - margin-bottom70 classesBecomes
mb-*, one of the four side utilities the margin shorthand expands into. - margin-left70 classesBecomes
ml-*; the logical equivalent Tailwind also ships isms-*.
Sizing
- width143 classesWidth draws on the spacing scale, a set of fractions, and viewport keywords, so both
w-64andw-1/3are ordinary utilities. - height135 classesHeight mirrors width, with
h-screenfor100vhandh-fullfor100%. - min-width71 classesBecomes
min-w-*, wheremin-w-0is the fix for a flex child that refuses to shrink below its content. - max-width71 classesBecomes
max-w-*, including the named prose widths likemax-w-proseand the breakpoint-named sizes. - min-height63 classesBecomes
min-h-*, withmin-h-screenthe usual way to make a page fill the viewport. - max-height63 classesBecomes
max-h-*, drawing on the same spacing scale as height. - aspect-ratio3 classesA few named ratios exist (
aspect-square,aspect-video); any other ratio is written arbitrarily asaspect-[4/3].
Typography
- font-size13 classesSizes are named rather than numeric —
text-sm, nottext-14— so the scale is a closed set and an off-scale size becomes an arbitrary value. - font-weight9 classesNumeric weights map to names, so
font-weight: 600becomesfont-semibold. - font-family3 classesThree named stacks ship by default —
font-sans,font-serif,font-mono— and a custom stack matches only if you have defined it in your theme. - font-style2 classesTwo utilities:
italicandnot-italic. - line-height41 classesUnitless leading values map to
leading-*names; a length maps to the spacing scale instead. - letter-spacing7 classesBecomes the
tracking-*family, which is named rather than numeric. - text-align6 classesMaps one-to-one, including the logical
text-startandtext-end. - text-transform4 classesBare utilities named after the value:
uppercase,lowercase,capitalize,normal-case. - text-decoration-line4 classesBare utilities again —
underline,line-through,overline,no-underline. - text-overflow3 classesThe
truncateutility is the one to know: it sets overflow, white-space and text-overflow together. - white-space7 classesBecomes the
whitespace-*family, wherewhitespace-nowrapis the usual reason to reach for it. - word-break3 classesMaps to
break-*, and notewrap-anywhereandbreak-allbehave differently on long unbroken strings. - vertical-align8 classesBecomes the
align-*family — unrelated to flexbox alignment despite the similar name. - list-style-type3 classesThree utilities cover the common cases:
list-none,list-disc,list-decimal. - color11 classesText colour becomes
text-*, which is the same prefix as font size — the palette name is what tells the two apart.
Backgrounds
- background-color11 classesBecomes
bg-*with a palette name; a colour outside the palette is emitted as an arbitrary value. - background-size3 classesThree keywords map to
bg-auto,bg-coverandbg-contain. - background-position9 classesThe nine keyword positions map to
bg-*; offsets and percentages become arbitrary values. - background-repeat6 classesMaps to the
bg-repeat*family, including the per-axis andspace/roundforms. - background-attachment3 classesThree utilities:
bg-fixed,bg-local,bg-scroll. - background-clip4 classesMaps to
bg-clip-*, withbg-clip-textthe one used for gradient text.
Borders
- border-width5 classesWidths are unprefixed numbers and the 1px default is the bare
border— soborder-2is a width, not a palette shade. - border-style6 classesMaps to
border-*style names, which share theborder-prefix with widths and colours. - border-color11 classesBecomes
border-*with a palette name; the same prefix carries width and style, so the suffix disambiguates. - border-radius10 classesRadii are named rather than numeric —
rounded-lg, notrounded-8— and the corner and side variants follow the same names. - border-collapse2 classesTwo utilities,
border-collapseandborder-separate, for table borders. - border-spacing103 classesUses the spacing scale, with per-axis
border-spacing-x-*andborder-spacing-y-*forms. - outline-width6 classesMirrors border widths: unprefixed numbers, with the bare
outlineas the 1px default. - outline-color11 classesBecomes
outline-*with a palette name, most often paired with afocus-visible:variant.
Effects
- opacity21 classesPercentages become the number:
opacity: 0.5isopacity-50. - box-shadow22 classesShadows are named presets, so an exact match depends on your CSS using the same values Tailwind ships — a custom shadow becomes arbitrary.
- mix-blend-mode18 classesEvery blend mode has a
mix-blend-*utility of the same name. - filter55 classesEach filter function is its own utility (
blur-sm,grayscale,brightness-50) and they compose, so one CSS declaration can become several classes. - backdrop-filter73 classesMirrors
filterwith abackdrop-prefix on every utility, and composes the same way. - object-fit5 classesMaps to the
object-*family, whereobject-coveris the usual choice for images. - object-position9 classesThe nine keyword positions map to
object-*; anything finer becomes an arbitrary value.
Transitions
- transition-property5 classesNamed bundles rather than raw property lists:
transition,transition-colors,transition-opacityand friends. - transition-duration8 classesDurations are the millisecond count:
transition-duration: 150msisduration-150. - transition-delay8 classesDelays follow the same millisecond convention as durations, as
delay-*. - transition-timing-function4 classesThe four standard easings map to
ease-*; a custom cubic-bezier becomes an arbitrary value. - animation5 classesFour named animations ship by default (
animate-spin,animate-ping,animate-pulse,animate-bounce); your own keyframes need theme config.
Transforms
- transform86 classesTailwind splits the shorthand into per-function utilities, so a
transformwith several functions becomes several classes. - translate371 classesUses the spacing scale and fractions, with negative values written as
-translate-x-4. - rotate18 classesDegree values map directly, with the sign as a prefix:
rotate-45,-rotate-45. - scale86 classesScale factors become percentages:
scale: 1.05isscale-105. - transform-origin9 classesThe nine keyword origins map to
origin-*.
Interactivity
- cursor36 classesEvery standard cursor keyword has a utility of the same name.
- pointer-events2 classesTwo utilities, most often used as
pointer-events-noneon a decorative overlay. - user-select4 classesFour utilities under the
select-*prefix. - resize4 classesMaps to the
resize*family, where the bareresizemeans both axes. - appearance2 classesTwo utilities;
appearance-noneis the one used to strip native form styling. - scroll-behavior2 classesTwo utilities,
scroll-autoandscroll-smooth. - table-layout2 classesTwo utilities,
table-autoandtable-fixed.