Skip to content

An unmodified copy of Eric Meyer's CSS reset. PostCSS, Webpack, Sass, and Less friendly.

License

Notifications You must be signed in to change notification settings

bullygram/reset-css

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

An unmodified copy of Eric Meyer's CSS reset. PostCSS, Webpack, Sass, and Less friendly.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 100.0%