Skip to main content

Class Cheatsheet

All Uizy CSS classes at a glance. Bookmark this page!

Naming Pattern

[property]-[value]

Example: ta-c = Text Align Center


Display

ClassCSSDescription
d-nonedisplay: noneHide element
d-blockdisplay: blockBlock element
d-inlinedisplay: inlineInline element
d-inline-blockdisplay: inline-blockInline block
d-flexdisplay: flexFlexbox container
d-inline-flexdisplay: inline-flexInline flex
d-griddisplay: gridGrid container

Responsive: d-sm-*, d-md-*, d-lg-*, d-xl-*


Spacing

Scale (multiply by 4px)

ValueSize
00px
14px
28px
312px
416px
624px
832px
1248px
1664px

Padding

ClassDescription
pa-*All sides
pt-*Top
pb-*Bottom
pl-*Left
pr-*Right
px-*Left + Right
py-*Top + Bottom

Margin

ClassDescription
ma-*All sides
mt-*Top
mb-*Bottom
ml-*Left
mr-*Right
mx-*Left + Right
my-*Top + Bottom
mx-autoCenter horizontally

Gap (Flex/Grid)

ClassDescription
gx-*Column gap
gy-*Row gap

Grid

ClassDescription
rowGrid row container
col-1 to col-12Column width (1-12)
col-sm-*Small breakpoint
col-md-*Medium breakpoint
col-lg-*Large breakpoint
col-xl-*Extra large breakpoint

Common widths:

  • col-6 = 50%
  • col-4 = 33.33%
  • col-3 = 25%

Typography

Text Size

ClassDescription
ts-1Huge (titles)
ts-2Large (headings)
ts-3Medium-large
ts-4Medium
ts-5Normal (body)
ts-6Small (captions)

Text Align

ClassCSS
ta-ltext-align: left
ta-ctext-align: center
ta-rtext-align: right

Text Decoration

ClassEffect
td-bBold
td-iItalic
td-uUnderline
td-sStrikethrough

Text Transform

ClassEffect
tt-uUPPERCASE
tt-llowercase
tt-tTitle Case
tt-cTruncate with ...

Borders

Border Radius

ClassDescription
br-0Sharp corners
br-12px radius
br-24px radius
br-38px radius
br-416px radius
br-100pCircle
br-pillPill shape

Border Width

ClassWidth
bw-00px
bw-12px
bw-24px
bw-38px

Border Sides

ClassSide
bd-aAll
bd-tTop
bd-bBottom
bd-lLeft
bd-rRight

Border Style

ClassStyle
bs-solidSolid
bs-dashedDashed
bs-dottedDotted

Box Sizes (square)

ClassSizeUse Case
bx-136pxIcons
bx-248pxAvatar, touch target
bx-364pxThumbnail

Shadows

ClassUsage
sb-0None
sb-1 to sb-4Subtle (buttons)
sb-5 to sb-8Medium (cards)
sb-9 to sb-16Strong (dropdowns)
sb-17 to sb-24Maximum (modals)

Directions: sb-* (bottom), st-* (top), sl-* (left), sr-* (right)


Flex Alignment

Justify Content (X-axis)

ClassAlignment
dx-fsFlex-start (left)
dx-feFlex-end (right)
dx-ceCenter
dx-sbSpace-between
dx-saSpace-around
dx-seSpace-evenly

Align Items (Y-axis)

ClassAlignment
dy-fsFlex-start (top)
dy-feFlex-end (bottom)
dy-ceCenter
dy-stStretch

Position

ClassCSS
dp-rposition: relative
dp-aposition: absolute
dp-fposition: fixed
dp-sposition: sticky

Dimensions

ClassCSS
ew-100pwidth: 100%
ew-100vwidth: 100dvw
eh-100pheight: 100%
eh-100vheight: 100dvh

Overflow

ClassCSS
ox-hoverflow-x: hidden
ox-aoverflow-x: auto
oy-hoverflow-y: hidden
oy-aoverflow-y: auto

Events & Cursor

ClassEffect
e-pcursor: pointer
e-nsDisable text selection
e-neDisable pointer events

Breakpoints

NameMin Width
sm576px
md768px
lg992px
xl1200px
xxl1400px

Usage: Add breakpoint after property: d-md-flex, col-lg-6