Skip to content

Latest commit

 

History

History
84 lines (53 loc) · 1.43 KB

readme.md

File metadata and controls

84 lines (53 loc) · 1.43 KB

reset.css

An unmodified* copy of Eric Meyer's CSS reset.

Install

With curl:

$ curl -O "https://unpkg.com/reset-css@3.0.0/reset.css"

With NPM:

$ npm install --save reset-css

With Yarn:

$ yarn add reset-css

With Bower:

$ bower install reset-css

Usage

HTML:

<link rel="stylesheet" href="/assets/reset-css/reset.css" />

CSS:

@import '/assets/reset-css/reset.css';

PostCSS and postcss-import:

@import 'reset-css';

Webpack and css-loader:

import reset from 'reset-css';

Sass:

@import '/assets/reset-css/_reset';

Less:

@import '/assets/reset-css/reset';

// or

@import (inline) '/assets/reset-css/reset.css';

*Changelog

Two changes have been made from the 2011 version, both approved by Mr. Meyer:

  • Added main to list of HTML 5 elements (#7)
  • Added rule to fix hidden attribute on HTML 5 elements (#12)

Eric Meyer http://meyerweb.com/eric/tools/css/reset/

License: none (public domain)