Status: Active
☕ ChaiCode Web Dev Cohort 2026
A lightweight utility-first CSS engine built in vanilla JS. Write chai-*
classes. Get inline styles. No build step, no config.
Usage
<script src="https://cdn.jsdelivr.net/gh/Hudater/h5t-talwinder@main/chai-h5t.js"></script>
↓ This page has demo elements styled using H5t-Talwinder. Toggle the button to see browser defaults.
01 — Typography
chai-text-{xs|sm|base|lg|xl|2xl|3xl|4xl} · chai-font-{light|normal|semibold|bold} · chai-text-{left|center|right}
chai-text-xs — 12px
chai-text-sm — 14px
chai-text-base — 16px. Default. The middle path.
chai-text-lg — 18px. Comfortable reading.
chai-text-xl — 20px. Getting prominent.
chai-text-2xl — 24px. Subheading territory.
chai-text-3xl — 30px. Bold statement.
chai-text-4xl — 36px. Main heading energy.
← Left aligned
Center aligned
Right aligned →
chai-font-light — Weight 300
chai-font-normal — Weight 400
chai-font-semibold — Weight 600
chai-font-bold — Weight 700
02 — Colors
chai-bg-{color}-{shade} · chai-text-{color}-{shade} · Shades: 100–900
03 — Spacing
chai-p-{n} chai-px-{n} chai-py-{n} chai-pt/pb/pl/pr-{n} · Same for margin (m) · 1 unit = 4px
04 — Borders & Radius
chai-border-{1|2|4} · chai-rounded-{sm|md|lg|xl|full}
05 — Layout
chai-flex · chai-flex-col · chai-flex-wrap · chai-justify-{*} · chai-items-{*} · chai-gap-{n}
justify-between + items-center
justify-center + gap-4 + flex-wrap
flex-col + gap-2
06 — Grid
chai-grid · chai-grid-cols-{n} · chai-gap-{n}
grid-cols-3 + gap-4
grid-cols-4 + gap-3
07 — Width
chai-w-full · chai-w-3/4 · chai-w-2/3 · chai-w-1/2 · chai-w-1/3 · chai-w-1/4
08 — Combined
Multiple utilities combined — cards, buttons, layout
Light Card
Built with chai-* utility classes. No external CSS, no custom styles anywhere.
Dark Card
Same structure, different utilities. Runtime DOM magic — no build step needed.
Total Utilities
60+
Spacing · Colors · Typography · Border · Layout