shannonmoeller/reset-css


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

http://npm.im/reset-css

License: Unlicense

Language: CSS

Keywords: css, less, nodejs, normalize, postcss, reset, sass, webpack


reset.css

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

Install

With curl:

$ curl -O "https://unpkg.com/reset-css@4.0.1/reset.css"
$ curl -O "https://unpkg.com/reset-css@4.0.1/sass/_reset.scss"
$ curl -O "https://unpkg.com/reset-css@4.0.1/less/reset.less"

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="/path/to/reset-css/reset.css" />

CSS:

@import '/path/to/reset-css/reset.css';

Via PostCSS and postcss-import:

@import 'reset-css';

Via webpack and css-loader:

import 'reset-css';

Via Sass:

@import '/path/to/reset-css/sass/reset';

Via Less:

@import '/path/to/reset-css/less/reset';

*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)

Project Statistics

Sourcerank 14
Repository Size 17.6 KB
Stars 167
Forks 76
Watchers 4
Open issues 0
Dependencies 0
Contributors 7
Tags 12
Created
Last updated
Last pushed

Top Contributors See all

Shannon Moeller Jonatan Männchen Paweł Łaskarzewski Fabricio Augusto Brian Kotos Phil Gibbins Oleh Kuchuk

Packages Referencing this Repo

reset-css
An unmodified copy of Eric Meyer's CSS reset.
Latest release v4.0.1 - Published - 167 stars
reset-css
An unmodified copy of Eric Meyer's CSS reset.
Latest release 4.0.1 - Updated - 167 stars

Recent Tags See all

v4.0.1 June 04, 2018
v4.0.0 June 03, 2018
v3.0.0 March 14, 2018
v2.2.1 July 26, 2017
v2.2.0 September 24, 2016
v2.1.0 September 24, 2016
v2.0.20160720 July 20, 2016
v2.0.20160620 July 20, 2016
v2.0.2011012603 January 28, 2016
v2.0.2011012602 July 08, 2015
v2.0.20110126-1 June 01, 2015
v2.0.20110126 August 03, 2013

Something wrong with this page? Make a suggestion

Last synced: 2018-06-04 13:53:36 UTC

Login to resync this repository