This README contains a complete list of the TailwindCSS class names for a quick reference.
There is also a more condensed, printable one-page jpg version:
View the TailwindCSS default configuration
sm:640px | md:768px | lg:1024px | xl:1280px | 2xl:1536px
px|0|1|2|3|4|5|6|7|8|9|10|11|12|14|16|20|24|28|32|36|40|44|48|52|56|60|64|72|80|96
- hover|focus|focus-within|focus-visible|active|visited|target|first|last|only|odd|even|first-of-type|last-of-type|only-of-type|empty
- disabled|checked|indeterminate|default|required|valid|invalid|in-range|out-of-range|placeholder-shown|autofill|read-only
- open|before|after|first-letter|first-line|marker|selection|file|placeholder
- sm|md|lg|xl|2xl|dark|portrait|landscape|motion-safe|motion-reduce|print
- rtl|ltr
- group-{modifier}|peer-{modifier}
- slate|gray|zinc|neutral|stone|red|orange|amber|yellow|lime|green|emerald|teal|cyan|sky|blue|indigo|violet|purple|fuchsia|pink|rose
- .Property-[transparent|current|black|white]
- .Property-[themeColors]-[50|100|200|300|400|500|600|700|800|900][ |/themeOpacity]
- .Property-[transparent|current|black|white]
- .Property-[themeColors]-[50|100|200|300|400|500|600|700|800|900]
- .aspect-[auto|square|video]
- .container
- .columns-[1|2|3|4|5|6|7|8|9|10|11|12|auto|3xs|2xs|xs|sm|md|lg|xl|2xl|3xl|4xl|5xl|6xl|7xl]
- .break-[after|before]-[auto|avoid|all|avoid-page|page|left|right|column]
- .break-inside-[auto|avoid|avoid-page|avoid-column]
- .box-decoration-[clone|slice]
- .box-[border|content]
- .[ |inline]-[ |block|flex|table|grid]
- .table-[caption|cell|column|column-group|footer-group|header-group|row-group|row]
- .[flow-root|contents|list-item|hidden]
- .float-[right|left|none]
- .clear-[left|right|both|none]
- .isolation-[ |auto]
- .object-[contain|cover|fill|none|scale-down]
- .object-[bottom|center|top]
- .object-[left|right]-[ |bottom|top]
- .overflow-[ |x|y]-[auto|hidden|clip|visible|scroll]
- .overscroll-[ |x|y]-[auto|contain|none]
- .[static|fixed|absolute|relative|sticky]
- .inset-[ |x|y]-[themeSpacing|auto|n/2|n/3|n/4|full]
- .[top|right|bottom|left]-[themeSpacing|auto|n/2|n/3|n/4|full]
- .[visible|invisible]
- .z-[0|10|20|30|40|50|auto]
- .basis-[themeSpacing|auto|n/2|n/3|n/4|n/5|n/6|n/12|full]
- .flex-[row|col]-[ |reverse]
- .flex-wrap-[ |reverse]
- .flex-nowrap
- .flex-[1|auto|initial|none]
- .flex-grow-[ |0]
- .flex-shrink-[ |0]
- .order-[1|2|3|4|5|6|7|8|9|10|11|12|first|last|none]
- .grid-cols-[1|2|3|4|5|6|7|8|9|10|11|12|none]
- .col-auto
- .col-span-[1|2|3|4|5|6|7|8|9|10|11|12|full]
- .col-[start|end]-[1|2|3|4|5|6|7|8|9|10|11|12|13|auto]
- .grid-rows-[1|2|3|4|5|6|none]
- .row-auto
- .row-span-[1|2|3|4|5|6|full]
- .row-[start|end]-[1|2|3|4|5|6|7|auto]
- .grid-flow-[row|col]-[ |dense]
- .auto-[cols|rows]-[auto|min|max|fr]
- .gap-[ |x|y]-[themeSpacing]
(justify)=>(x) & ( |content)=>(y) & (place)=>(xy)
- .[justify|content]-[start|end|center|between|around|evenly]
- .place-content-[start|end|center|between|around|evenly|stretch]
- .[justify|place]-items-[start|end|center|stretch]
- .items-[start|end|center|stretch|baseline]
- .[justify|place]-self-[auto|start|end|center|stretch]
- .self-[auto|start|end|center|stretch|baseline]
- .justify-[start|end|center|between|around|evenly]
- .justify-items-[start|end|center|stretch]
- .justify-self-[auto|start|end|center|stretch]
- .content-[center|start|end|between|around|evenly]
- .items-[start|end|center|baseline|stretch]
- .self-[auto|start|end|center|stretch|baseline]
- .place-content-[center|start|end|between|around|evenly|stretch]
- .place-items-[start|end|center|stretch]
- .place-self-[auto|start|end|center|stretch]
- .p[ |y|x|t|r|b|l]-[themeSpacing]
- .m[ |y|x|t|r|b|l]-[themeSpacing|auto]
- .-m[ |y|x|t|r|b|l]-[themeSpacing]
- .space-[x|y]-[themeSpacing|reverse]
- .-space-[x|y]-[themeSpacing]
- .w-[themeSpacing|auto|n/2|n/3|n/4|n/5|n/6|n/12|full|screen|min|max|fit]
- .min-w-[0|full|min|max|fit]
- .max-w-[0|none|xs|sm|md|lg|xl|2xl|3xl|4xl|5xl|6xl|7xl|full|min|max|fit|prose]
- .max-w-screen-[sm|md|lg|xl|2xl]
- .h-[themeSpacing|auto|n/2|n/3|n/4|n/5|n/6|full|screen|min|max|fit]
- .min-h-[0|full|screen|min|max|fit]
- .max-h-[themeSpacing|full|screen|min|max|fit]
- .font-[sans|serif|mono]
- .text-[xs|sm|base|lg|xl|2xl|3xl|4xl|5xl|6xl|7xl|8xl|9xl]
- .[ |subpixel]-antialiased
- .[ |not]-italic
- .font-[hairline|thin|light|normal|medium|semibold|bold|extrabold|black]
- .[normal|lining|oldstyle|proportional|tabular]-nums
- .[ordinal|slashed-zero]
- .[diagonal|stacked]-fractions
- .tracking-[tighter|tight|normal|wide|wider|widest]
- .leading-[3|4|5|6|7|8|9|10|none|tight|snug|normal|relaxed|loose]
- .list-[none|disc|decimal]
- .list-[inside|outside]
- .text-[left|center|right|justify]
- .text-[themeColorWithOpacity]
- .[under|no-under|over]line
- .line-through
- .decoration-[themeColor]
- .decoration-[solid|double|dotted|dashed|wavy]
- .decoration-[auto|from-font|0|1|2|4|8]
- .underline-offset-[auto|0|1|2|4|8]
- .[upper|lower|normal-]case
- .capitalize
- .indent-[themeSpacing]
- .align-[baseline|top|middle|bottom|text-top|text-bottom|sub|super]
- .whitespace-[normal|nowrap|pre|pre-line|pre-wrap]
- .break-[normal|words|all]
- .content-none
- .bg-[fixed|local|scroll]
- .bg-clip-[border|padding|content|text]
- .bg-[themeColorWithOpacity]
- .bg-origin-[border|padding|content]
- .bg-[bottom|center|top]
- .bg-[left|right]-[bottom|top]
- .bg-repeat-[ |x|y|round|space]
- .bg-no-repeat
- .bg-[auto|cover|contain]
- .bg-none
- .bg-gradient-to-[t|b][ |r|l]
- .bg-gradient-to-[r|l]
- .[from|via|to]-[themeColor]
- .rounded-[ |none|sm|md|lg|xl|2xl|3xl|full]
- .rounded-[r|l]-[none|sm|md|lg|xl|2xl|3xl|full]
- .rounded-[t|b][ |r|l]-[none|sm|md|lg|xl|2xl|3xl|full]
- .border-[ |x|y|t|r|b|l]-[ |0|2|4|8]
- .border-[themeColorWithOpacity]
- .border-[solid|dashed|dotted|double|hidden|none]
- .divide-[x|y]-[ |0|2|4|8|reverse]
- .divide-[themeColorWithOpacity]
- .divide-[solid|dashed|dotted|double|none]
- .outline-[0|1|2|4|8]
- .outline-[themeColorWithOpacity]
- .outline-[ |dashed|dotted|double|hidden|none]
- .outline-offset-[0|1|2|4|8]
- .ring-[0|1|2| |4|8|inset]
- .ring-[themeColorWithOpacity]
- .ring-offset-[0|1|2|4|8]
- .ring-offset-[themeColorWithOpacity]
- .shadow-[sm| |md|lg|xl|2xl|inner|none]
- .shadow-[themeColorWithOpacity]
- .opacity-[0|5|10|20|25|30|40|50|60|70|75|80|90|95|100]
- . mix-blend-[multiply|screen|overlay|darken|lighten|color-dodge |color-burn|hard-light|soft-light|difference|exclusion]
- . bg-blend-[normal|multiply|screen|overlay|darken|lighten|color-dodge|color-burn |hard-light|soft-light|difference|exclusion|hue|saturation|color|luminosity]
- .[ |backdrop]-blur-[none|sm| |md|lg|xl|2xl|3xl]
Backdrop Brightness & Brightness
- .[ |backdrop]-brightness-[0|50|75|90|95|100|105|110|125|150|200]
- .[ |backdrop]-contrast-[0|50|75|100|125|150|200]
Backdrop Drop Shadow & Drop Shadow
- .[ |backdrop]-drop-shadow-[sm| |md|lg|xl|2xl|none]
Backdrop Grayscale & Grayscale
- .[ |backdrop]-grayscale-[ |0]
Backdrop Hue Rotate & Hue Rotate
- .[ |backdrop]-hue-rotate-[0|15|30|60|90|180]
- .[ |backdrop]-invert-[ |0]
- .[ |backdrop]-saturate-[0|50|100|150|200]
- .[ |backdrop]-sepia-[ |0]
- .border-[collapse|separate]
- .table-[auto|fixed]
- .transition-[none|all| |colors|opacity|shadow|transform]
- .duration-[75|100|150|200|300|500|700|1000]
- .ease-[linear|in|out|in-out]
- .delay-[75|100|150|200|300|500|700|1000]
- .animate-[none|spin|ping|pulse|bounce]
- .[ | - ]scale-[ |x|y]-[0|50|75|90|95|100|105|110|125|150]
- .[ | - ]rotate-[0|1|2|3|6|12|45|90|180]
- .[ | - ]translate-[x|y]-[themeSpacing|n/2|n/3|n/4|full]
- .[ | - ]skew-[x|y]-[0|1|2|3|6|12]
- .origin-[right|center|left]
- .origin-[top|bottom]-[right|left]
- .accent-[themeColorWithOpacity]
- .accent-auto
- .appearance-none
- .cursor-[auto|default|pointer|wait|text|move|help|not-allowed|none|context-menu |progress|cell|crosshair|vertical-text|alias|copy|no-drop|grab|grabbing|all-scroll]
- .cursor-[auto|col|row|n|e|s|w|ne|nw|se|sw|ew|ns|nesw|nwse]-resize
- .cursor-zoom-[in|out]
- .caret-[themeColorWithOpacity]
- .pointer-events-[none|auto]
- .resize-[none|y|x| ]
- .scroll-[auto|smooth]
- .scroll-m[ |x|y|t|r|b|l]-[themeSpacing]
- .scroll-p[ |x|y|t|r|b|l]-[themeSpacing]
- .snap-[start|end|center|align-none]
- .snap-[normal|always]
- .snap-[none|x|y|both|mandatory|proximity]
- .touch-[auto|none|pinch-zoom|manipulation]
- .touch-pan-[x|left|right|y|up|down]
- .select-[none|text|all|auto]
- .will-change-[auto|scroll|contents|transform]
- .fill-[themeColor]
- .stroke-[themeColor]
- .stroke-[0|1|2]
- .[ |not]-sr-only