a modern css reset for 2024 and beyond
npm install @acab/reset.cssA style reset that embraces modern CSS features to give you a better base to start off with.
- Designed for cascade layers while still using :where to keep a low specificity for unlayered setups.
- Auto dark mode using color-scheme.
- system-ui font pre-applied.
- Accessible, consistent focus outlines.
- Supports new features like and popover.
- .visually-hidden class baked in.
See the source code if you're curious about the full set of rules.
Install and import the package (requires a bundler):
``shell`
npm install @acab/reset.css
`css
/ in a CSS file or