Fullstack Developer | Built My Own Tailwind Engine
Passionate about learning web development through hands-on projects. I've built a custom utility-first CSS engine called Chaiwind that converts class names into inline styles using JavaScript.
A powerful JavaScript-based utility-first CSS system that mimics Tailwind's approach. It parses class names and dynamically applies inline styles to elements. This system demonstrates the core concepts of modern CSS frameworks and includes support for 20+ utilities including padding, margin, colors, typography, and more.
Test the Chaiwind engine in real-time:
This box is styled with Chaiwind classes!
Padding & Margin (p, m): 0-50px
Background & Text (10+ colors)
Font sizes: sm to 4xl
Flex, Grid, Block, Hidden
Shadows, Borders, Opacity
Dynamic MutationObserver
chai-p-0 to chai-p-50
chai-m-0 to chai-m-50
chai-bg-[red|blue|green|purple|black|white|gray|yellow|amber|orange]
chai-text-[white|black|red|blue|green|yellow|gray]
chai-text-[sm|base|lg|xl|2xl|3xl]
chai-flex | chai-block | chai-hidden | chai-grid
chai-flex-col | chai-justify-center | chai-items-center
chai-rounded | chai-rounded-lg | chai-rounded-full
chai-shadow | chai-shadow-lg | chai-shadow-xl
chai-opacity-[50|75|100]
chai-w-full | chai-h-full | chai-h-screen
chai-gap-[4|8|12|16]