Chota CSS Framework: A 3 KB Bootstrap Alternative (How to Use It)
Looking for a lightweight Bootstrap alternative? The Chota CSS framework is a tiny, under-3 KB micro CSS framework with a Bootstrap-like 12-column grid, buttons, forms, cards, navigation and a built-in dark mode. In 2021 I replaced our heavy custom Bootstrap theme with Chota on this site, and it took about 15 minutes. Here’s how to use the Chota CSS framework, what it includes, and when it’s the right choice in 2026.

Quick answer: Add <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/chota@latest"> to your page’s <head>, then use classes like container, row, col-6, button primary and card. There’s no JavaScript or build step required.
Table of Contents
Why we switched from Bootstrap to Chota
I’ve long been a Bootstrap fan, and this site ran on our own QuickStrap WordPress theme for years. But when Core Web Vitals became a ranking signal, page speed tests kept flagging Bootstrap’s render-blocking CSS: over 200 KB unminified, around 25–30 KB compressed, mostly classes we never used.
Chota (external site) is under 3 KB gzipped and uses similar class names (container, row, col), so most of our HTML worked without changes. Because it’s so small, I inlined it straight into the HTML as critical CSS, removing the render-blocking request entirely. Small CSS also kept our Open Graph and meta tags near the top of the page source, which large inlined Bootstrap CSS had pushed down. (We’ve since moved to a Kadence child theme, but Chota remains our favourite micro framework for small projects.)
How to use the Chota CSS framework
Add Chota from a CDN, or install it with npm install chota:
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/chota@latest">Then build a responsive layout with its 12-column grid:
<div class="container">
<div class="row">
<div class="col-8">Main content</div>
<div class="col-4">Sidebar</div>
</div>
<a class="button primary" href="#">Read more</a>
</div>Columns stack automatically on small screens. Use col-6-md or col-4-lg for breakpoint-specific widths.
What Chota includes
- Grid: flexbox-based 12-column grid with responsive classes.
- Components: buttons, forms, cards, tabs, tags, navigation bars and details/summary.
- Utilities: text alignment, colours, spacing,
is-hidden,hide-xsand more. - Dark mode: add the
darkclass to<body>, or switch with a one-line script. - CSS variables: change colours and fonts by overriding variables like
--color-primaryand--font-family-sans.
Inline Chota as critical CSS
Because Chota is so small, you can paste the minified CSS inside a <style> tag in your page head. This works like critical CSS (external site): the browser can render the page immediately without waiting for an external stylesheet. On WordPress, plugins like Autoptimize (external site) or LiteSpeed Cache (external site) can inline CSS for you. See more ways to load CSS files faster.
Chota vs Bootstrap and other micro CSS frameworks
- Bootstrap (external site): full-featured with JavaScript components like modals and dropdowns, but much heavier. Best for complex apps.
- Pico CSS (external site): styles plain HTML elements with almost no classes, about 10 KB gzipped.
- Water.css (external site): a classless drop-in stylesheet for simple pages.
- Tailwind CSS (external site): utility-first, with only the classes you use in the final CSS, but needs a build step.
Choose Chota when you want Bootstrap-style classes and a grid in the smallest possible file, for blogs, landing pages, documentation and prototypes.
Frequently asked questions
Is Chota CSS still maintained?
Chota is stable and widely used, though updates are infrequent because it’s intentionally minimal. It works in all modern browsers.
Does Chota need JavaScript?
No. It’s pure CSS. You only need a few lines of JavaScript if you want a dark mode toggle button.
Can I use Chota with WordPress?
Yes. Enqueue the stylesheet in your theme’s functions.php, or inline it in the header, and use Chota classes in your templates.
Didn’t find what you were looking for? Tell us in a line.

$4.99Free when you subscribe
Get 100 tech terms explained in plain English
8-page PDF on AI, coding, slang and SEO + one tech email a week.
Don’t want emails? Buy the PDF for $4.99 (opens in a new tab) (external site)
Sent by email. Unsubscribe anytime. See our privacy policy.






