Hướng dẫn reset normalize css npm
A combination of css reset and normalize (available in CSS, SCSS, Stylus and LESS).
AboutThis combination of css reset and normalize is based on
Rules and ReasonsTake a look at the source code, it has comments. BTW: Here's an article about Reboot, Resets and Reasoning by Chris Coyier. Installation
# …using npm npm install --save css-reset-and-normalize # …or yarn yarn add css-reset-and-normalize You can also use the latest generated CSS directly from a CDN:
UsageThere are multiple ways:
Optional Addons:
See source code. UsageThe optional addons can be included the same way like the base library. SCSS example: @import 'path/to/node_modules/css-reset-and-normalize/scss/reset-and-normalize'; @import 'path/to/node_modules/css-reset-and-normalize/scss/button-reset'; @import 'path/to/node_modules/css-reset-and-normalize/scss/link-reset'; LicenseMIT © Simon Lepel A modern alternative to CSS resets NPM
CDN See https://yarnpkg.com/en/package/normalize.css Download See https://necolas.github.io/normalize.css/latest/normalize.css What does it do?
Browser support
Extended details and known issuesAdditional detail and explanation of the esoteric parts of normalize.css.
|