CSS Boilerplate Generator
Build a modern CSS starter — pick a reset (Andy Bell, Josh Comeau, normalize-lite or minimal), toggle the base rules, generate a design-token block with light/dark colours, a spacing and radius scale and fluid type, then see it live in a preview and copy or download style.css.
What this tool does
It assembles the top of a stylesheet — a reset, sensible base rules, and a block of custom properties — from options you choose, and shows the result rendered in a live preview.
Resets
Andy Bell's modern reset — small, opinionated,
widely used. Josh Comeau's — adds font smoothing and
an #root stacking context. normalize-lite
— keeps useful browser defaults, just evens out the differences.
Minimal — only box-sizing and margin.
Base rules
Each is a checkbox: block-level media with max-width,
font: inherit on form controls, a root
line-height, -webkit-text-size-adjust,
smooth scrolling wrapped in a prefers-reduced-motion
guard, text-wrap: pretty on headings, and an accessible
:focus-visible outline.
Design tokens
A :root block with colour tokens (and a
prefers-color-scheme: dark or [data-theme]
override), a font stack, a spacing scale, a radius scale, shadows,
a container width, and optional clamp() fluid type
steps.
Privacy
Everything runs in your browser. Nothing is uploaded.