Destyle.css
Opinionated reset stylesheet that provides a clean slate for styling
your html.
-
Ensures consistency across browsers (thanks
normalize.css)
- Removes spacing (margin & padding) and resets font-size and line-height
- Sets some sensible defaults (see docs)
- Resets font-size and line-height
- Prevents the necessity of reseting (most) user agent styles
-
Prevents style inspector bloat by only targeting what is necessary
- Contributes to the separation of presentation and semantics
-
Works well with all kind of styling approaches, atomic libraries like
tachyons, component based styling
like css-in-js in React, good 'ol
css, ...
npm install
--save destyle.css