Write chai-* class names in your HTML.
ChaiTailwind scans your DOM and converts them to inline styles at runtime.
No npm. No config. No compilation.
chai-* class is split into a property key and value, then matched against a rules map.chai-* class is then removed.style="" attributes the browser renders directly.<!-- 1. Write chai-* classes in your HTML --> <div class="chai-p-6 chai-bg-blue chai-text-white chai-rounded-lg"> Hello ChaiTailwind </div> <!-- 2. Drop in the script at the end of body --> <script src="chai.js"></script> <!-- That's it. No npm. No config. No build step. -->
↑ Built entirely with chai-* classes. Zero other CSS.