githubEdit

@csstools/normalize.css

@csstools/normalize.cssarrow-up-right is a CSS library that provides consistent, cross-browser default styling of HTML elements.

Usage

<link href="https://unpkg.com/@csstools/normalize.css" rel="stylesheet" />

Install

npm install --save @csstools/normalize.css

Webpack Usage

Import @csstools/normalize.cssarrow-up-right in CSS:

@import '~@csstools/normalize.css';

Alternatively, import @csstools/normalize.cssarrow-up-right in JS:

import '@csstools/normalize.css';

In webpack.config.js, use the appropriate loaders:

module.exports = {
  module: {
    rules: [
      {
        test: /\.css$/,
        use: [ 'style-loader', 'css-loader' ]
      }
    ]
  }
}

Download

See https://csstools.github.io/normalize.css/latest/normalize.css

What does it do?

  • Normalizes styles for a wide range of elements.

  • Corrects bugs and common browser inconsistencies.

  • Explains what code does using detailed comments.

Browser support

  • Chrome (last 3)

  • Edge (last 3)

  • Firefox (last 3)

  • Firefox ESR

  • Opera (last 3)

  • Safari (last 3)

  • iOS Safari (last 2)

  • Internet Explorer 9+

Contributing

Please read the contribution guidelinesarrow-up-right in order to make the contribution process easy and effective for everyone involved.

Similar Projects

Acknowledgements

normalize.css is a project by Jonathan Nealarrow-up-right, co-created with Nicolas Gallagherarrow-up-right.

Last updated