About Normalize.css
Normalize.css is a stylesheet that makes browsers render all elements more consistently and in line with modern standards. The project calls it a modern, HTML5-ready alternative to CSS resets, and it targets only the styles that need normalizing.
Unlike a reset, it preserves useful browser defaults. It corrects bugs and common browser inconsistencies, makes small usability tweaks, and explains what the code does through detailed comments. The README also lists known quirks for elements such as pre, code, select, checkboxes and search inputs.
It installs with npm install normalize.css, or the file can be downloaded directly. The current release shown on the project page is v8.0.1, and browser support covers Chrome, Edge, Firefox ESR+, Internet Explorer 10+, Safari 8+ and Opera. The code is MIT licensed.
Key features
- Keeps useful browser defaults
- Normalizes styles for many elements
- Fixes browser bugs and inconsistencies
- Documented with detailed comments
- Installable from npm
- Documents known issues per element
Good fit for
- Baseline styles for a website
- Smoothing out cross-browser rendering differences
Normalize.css: questions and answers
- What is Normalize.css used for?
- Normalize.css is a small CSS file that makes browsers render elements more consistently, offered as an alternative to CSS resets. It is a good fit for baseline styles for a website and smoothing out cross-browser rendering differences.
- Is Normalize.css open source?
- Yes. Normalize.css is open source under the MIT licence. Its source code is on GitHub at necolas/normalize.css.
- Is Normalize.css free?
- Yes. Normalize.css is open source, so the software itself is free to use.
- Can I self-host Normalize.css?
- Yes. Normalize.css can be self-hosted on your own server or infrastructure.
- Is Normalize.css actively maintained?
- The most recent commit to Normalize.css was on 12 June 2024. The project has 53k stars on GitHub.
