Skip to content

Classes Dictionary

ClassDescription
.align-baselineAlign to text baseline
.align-topAlign to top of parent
.align-middleAlign to middle of parent
.align-bottomAlign to bottom of parent

ClassDescription
.blinkBlinking (opacity 50%, 1s)
.animation:spin-1.animation:spin-10Spinning (0.25s — 2.5s)
.hover:underline--{color}Underline on hover
.active:pulsePulse on click

ClassDescription
.bg-{color}Background color
.bg-{color}-{brightness}Background color with brightness
.bg-noneTransparent background
.bg-opacity-{0|25|50|75|100}Background opacity
.hover:bg-{color}Background on hover

ClassDescription
.border1px border
.border-0.border-50-20px border
.border-t, .border-r, .border-b, .border-lBorder by side
.border-{color}Border color
.border-transparentTransparent border
.border-dashedDashed border
.rounded-noneNo radius
.rounded-sm2px radius
.rounded4px radius
.rounded-md6px radius
.rounded-lg8px radius
.rounded-xl12px radius
.rounded-fullFull radius

Important: Use .rounded for default radius or .rounded for 4px.


ClassDescription
.cursor-pointerPointer cursor
.cursor-moveMove cursor
.cursor-defaultDefault cursor
.cursor-disabledDisabled element cursor
.cursor-resize-x, .cursor-resize-yResize cursor
.cursor-waitWait cursor
.cursor-helpHelp cursor

ClassDescription
.inlineInline element
.blockBlock element
.inline-blockInline-block element
.table, .table-cellTable/cell
.overflow-hiddenHide overflow
.overflow-{scroll|auto}Scroll

ClassDescription
.opacity-{0|5|10|...|100}Element opacity
.hover:opacity-{value}Opacity on hover
.requiredRed asterisk *
.rotate-{0|45|90|...|315}Rotate by angle

ClassDescription
.grayscaleGrayscale (100%)
.grayscale-0No filter
.no-filterReset filters

ClassDescription
.flexFlex container
.flex-col, .flex-colVertical direction
.flex-rowHorizontal direction
.flex-wrapWrap elements
.flex-0, .flex-1, .flex-auto, .flex-noneFlex properties
.items-start.items-stretchItem alignment
.justify-start.justify-evenlyAxis alignment
.gap-{size}Gap between elements

ClassDescription
.gridGrid container
.grid-columns--1fr-1frTwo equal columns
.grid-columns--1fr-2frColumns 1fr and 2fr
.grid-columns--1fr-1fr-1frThree equal columns
.grid-col-span-1.grid-col-span-3Column spanning

ClassDescription
.hiddenHide (display: none)
.hidden-{breakpoint}Hide at breakpoint

ClassDescription
.pointer-events-noneDisable pointer events
.pointer-events-autoEnable pointer events
.select-noneDisable selection
.select-allAllow select all

ClassDescription
.outline-noneNo outline
.outline-{size}Outline width (1-5)
.outline-{color}Outline color
.outline-offset-{0-10}Outline offset

ClassDescription
.relativeRelative
.absoluteAbsolute
.fixedFixed
.absolute-centerCentered
.top-{pos}.left-{pos}Coordinates
.z-0.z-100Z-index

ClassDescription
.z-scrollCustom scrollbar
.z-scroll--hoveredEnlarged on hover
.z-scroll--thinThin scrollbar

ClassDescription
.w-{size}Width
.h-{size}Height
.w-screen, .h-screen100vw / 100vh
.min-w-{size}, .max-w-{size}Min/max width
.min-h-{size}, .max-h-{size}Min/max height

ClassDescription
.m-{space}Margin all sides
.mx-{space}, .my-{space}Margin by axis
.mt-{space}.ml-{space}Margin by side
.-m-{space}Negative margin
.p-{space}Padding all sides
.px-{space}, .py-{space}Padding by axis
.pt-{space}.pl-{space}Padding by side

Values: 0, px, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 18, 64


ClassDescription
.text-2xs.text-2xlText size
.font-thin.font-blackFont weight
.text-{color}Text color
.text-left, .text-center, .text-rightText alignment
.italicItalic
.underlineUnderline
.truncateTruncate with ellipsis