The browser-style-normalizer
is a stylesheet that resets all the browser-built-in styles, guaranteeing consistency across all major browsers.
It is important to note that this normalizer performs a hard style reset. If you are not using a robust CSS framework or component library, you should use a different normalizer.
- Install the package:
$ npm install -S browser-style-normalizer
- Include it in your main stylesheet:
@import url('/node_modules/browser-style-normalizer/dist/index.css');
- CSS
- CSS Tools: Reset CSS | Meyer Web
- A (more) Modern CSS Reset | Piccalilli
- A Modern CSS Reset | Josh W Comeau
- Preflight | Tailwind CSS
- Modern Normalize | Sindre Sorhus
- normalize.css
- sanitize.css
- clean-css
- Install dependencies:
$ npm install
- Build the stylesheet:
$ npm start
- Publish to
npm
:
$ npm publish