The New CSS

Lightweight CSS library with modern defaults

The New CSS ships under 5KB gzipped. Fast to download, fast to parse, and fast to render. No build step, no config, no overhead.

Why lightweight matters

Faster page loads — less CSS to download and parse means faster first contentful paint.

Better Core Web Vitals — smaller render-blocking resources improve LCP and CLS.

Works on slow connections — users on 3G or satellite benefit the most from small payloads.

What's included

Despite the small size, The New CSS includes everything you need for most websites:

  • Layout utilities (flexbox, grid, containers)
  • Spacing (margin, padding with consistent scale)
  • Typography (font size, weight, line height)
  • Colors (oklch-based palettes with text + background utilities)
  • Borders, shadows, and radius
  • Responsive breakpoints (sm, md, lg)
  • Dark mode (automatic + manual toggle)

Quick start

<link rel="stylesheet" href="https://unpkg.com/the-new-css/dist/the-new-css.min.css">

One line. No build step. No config file.

Compare the footprint

LibraryGzipped sizeBuild step
The New CSS~5KBNo
Bootstrap CSS~23KBNo
Tailwind (purged)~10-30KB+Yes