Skip to main content

CSS Utilities

Style your HTML with simple, memorable class names. No CSS files needed!

The Pattern

Every Uizy class follows the same pattern:

[property]-[value]

For example: ta-c = Text Align Center

Quick Start

<div class="pa-4 br-2 sb-2 ta-c">
A centered card with padding, rounded corners, and shadow
</div>

Available Utilities

CategoryPrefixExampleWhat it does
Displayd-d-flexShow/hide, flexbox, grid
Spacingpa-, ma-pa-4Padding & margin
Gridcol-col-612-column layout
Typographyts-, ta-ts-4 ta-cText size & alignment
Bordersbr-, bd-br-2 bd-aRounded corners & borders
Shadowssb-sb-4Drop shadows
Extrasdp-, e-dp-r e-pPosition, cursor, overflow

Responsive Classes

Add breakpoint prefixes to any class:

PrefixScreen SizeExample
(none)All screensd-flex
-sm-≥576pxd-sm-flex
-md-≥768pxd-md-none
-lg-≥992pxcol-lg-6
-xl-≥1200pxd-xl-block
<!-- Hidden on mobile, visible on tablet+ -->
<nav class="d-none d-md-flex">Desktop Nav</nav>

Common Abbreviations

LetterMeaning
aAll
t, b, l, rTop, Bottom, Left, Right
x, yHorizontal, Vertical
p, mPadding, Margin
cCenter
sStart / Solid
eEnd

Next Steps