Other ToolsProfessional tool
Tailwind Cheat Sheet
Quick reference for the most-used Tailwind CSS classes
Spacing
p-4padding: 1rempx-4padding-left/right: 1rempy-2padding-top/bottom: 0.5remm-4margin: 1remmx-automargin-left/right: autogap-4gap: 1remspace-x-2margin-left on siblingsFlexbox & Grid
flexdisplay: flexgriddisplay: gridgrid-cols-3grid-template-columns: repeat(3, 1fr)items-centeralign-items: centerjustify-betweenjustify-content: space-betweenflex-colflex-direction: columnflex-1flex: 1 1 0%Typography
text-smfont-size: 0.875remtext-lgfont-size: 1.125remtext-2xlfont-size: 1.5remfont-boldfont-weight: 700font-monofont-family: monospacetext-centertext-align: centertracking-tightletter-spacing: -0.025emColours
bg-whitebackground-color: whitebg-stone-100background-color: #f5f5f4text-stone-900color: #1c1917text-stone-500color: #78716cborder-stone-200border-color: #e7e5e4bg-amber-500background-color: #f59e0bBorders & Shadows
rounded-xlborder-radius: 0.75remrounded-fullborder-radius: 9999pxborderborder-width: 1pxshadow-smsmall box shadowshadow-lglarge box shadowThis tool runs entirely in your browser. No data is sent anywhere.