$ gnpm install @csstools/normalize.css
@csstools/normalize.css is a CSS library that provides consistent, cross-browser default styling of HTML elements.
<link href="https://unpkg.com/@csstools/normalize.css" rel="stylesheet" />
npm install @csstools/normalize.css --save
Import @csstools/normalize.css in CSS:
@import '~@csstools/normalize.css';
Alternatively, import @csstools/normalize.css 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
Please read the contribution guidelines in order to make the contribution process easy and effective for everyone involved.
necolas/normalize.css
Nicolas Gallagher and I started writing normalize.css together. I named and created the normalize.css repository with the help of Paul Irish and Ben Alman. I transferred the repository to Necolas, who turned it into a “household” CSS library.
Later, I resumed authorship of normalize.css with Luciano Battagliero. Together, we tagged, deprecated, and removed “opinionated” styles — styles developers often prefer but which do not fix bugs or “normalize” browser differences.
Later, Necolas resumed authorship and the issue of whether to include or omit the opinionated styles forced us to split.
I continue working on the normalize.css project, currently under the “csstools” tag. I hope one day our differences are resolved and the projects are one again.
normalize.css is a project by Jonathan Neal, co-created with Nicolas Gallagher.
Copyright 2013 - present © cnpmjs.org | Home |