The New CSS

A Bootstrap alternative for modern, lightweight styling

If you need classic components, Bootstrap is great. If you want a modern baseline with minimal footprint, ship The New CSS.

When Bootstrap works well

  • +

    Projects that need pre-built components (modals, carousels, tooltips)

  • +

    Teams familiar with Bootstrap's class naming conventions

When The New CSS is a better fit

  • You want a modern baseline, not a full component library

  • You want a smaller CSS footprint

  • You prefer modern CSS features (oklch, @layer, container queries)

Comparison

BootstrapThe New CSS
Build stepNoNo
ApproachComponent-heavyBaseline + utilities
Bundle sizeModerate (~23KB gzipped)Small (~5KB gzipped)
CSS featuresTraditionaloklch, @layer, container queries
CustomizationSass / CSS variablesCSS variables only
JavaScript requiredYes (for interactive components)No

Getting started

Replace Bootstrap with The New CSS in one line. Your semantic HTML will look great out of the box.

<!-- Remove Bootstrap --> <!-- <link href="bootstrap.min.css" rel="stylesheet"> --> <!-- Add The New CSS --> <link rel="stylesheet" href="https://unpkg.com/the-new-css/dist/the-new-css.min.css">

Ready for a lighter alternative?

Get started