v1.0.4
A lightweight utility CSS engine built with JavaScript. Add classes to your HTML โ it handles the rest. No build step, no config.
Every class follows the same pattern:
chai
-
property
-
value
chai-p-20
padding: 20px
chai-bg-red
background-color: red
chai-text-center
text-align: center
chai-rotate-45
transform: rotate(45deg)
All supported shorthands and their CSS output.
Pick whichever way fits your project.
๐ฆ npm
๐ CDN
Note: npm requires a bundler (Vite, webpack, etc.). CDN auto-runs in the browser โ no extra function call needed.
This page is styled using chai-* classes. Here are a few patterns: