finds.dev← search

// the find

jgthms/minireset.css

★ 2,803 · JavaScript · MIT · updated Jul 2024

A tiny modern CSS reset

A minimal CSS reset from the author of Bulma, covering the essentials: font-size normalization, margin removal, border-box sizing, and responsive media. Aimed at developers who find normalize.css too opinionated and modern-css-reset too aggressive.

Ships as plain CSS, SASS, and a LitElement CSSResult — actually useful for Web Components projects where most resets aren't distributed in that form. The decision to preserve inline padding on buttons and inputs is correct and saves real debugging time. It's small enough to read in 90 seconds and understand exactly what it does to your baseline. The border-box default is the right call and saves endless box-model arithmetic.

Last meaningful update was years ago and it doesn't address newer browser quirks — no `color-scheme`, no `text-size-adjust` for mobile Safari, no scroll behavior defaults. The file named `minireet.sass` in the README is a typo that's been there for years (the real file is `minireset.sass`), which signals maintenance is light. At 2800 stars it trails modern-css-reset and @csstools/normalize.css by a wide margin in adoption. If you're starting a project today, Josh Comeau's custom CSS reset or the newer Sanitize.css covers more ground with equal simplicity.

View on GitHub → Homepage ↗

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →