Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shannonmoeller/reset-css
An unmodified* copy of Eric Meyer's CSS reset. PostCSS, webpack, Sass, and Less friendly.
https://github.com/shannonmoeller/reset-css
css less nodejs normalize postcss reset sass webpack
Last synced: about 1 month ago
JSON representation
An unmodified* copy of Eric Meyer's CSS reset. PostCSS, webpack, Sass, and Less friendly.
- Host: GitHub
- URL: https://github.com/shannonmoeller/reset-css
- Owner: shannonmoeller
- License: unlicense
- Created: 2013-08-03T19:41:21.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2023-07-24T15:32:33.000Z (over 1 year ago)
- Last Synced: 2024-10-05T09:10:01.806Z (about 1 month ago)
- Topics: css, less, nodejs, normalize, postcss, reset, sass, webpack
- Language: Less
- Homepage: http://npm.im/reset-css
- Size: 23.4 KB
- Stars: 364
- Watchers: 6
- Forks: 116
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# reset.css
An [unmodified\*](#changelog) copy of Eric Meyer's [CSS reset](https://meyerweb.com/eric/tools/css/reset/).
## Install
With curl:
```command
$ curl -LO "https://unpkg.com/reset-css/reset.css"
$ curl -LO "https://unpkg.com/reset-css/less/reset.less"
$ curl -LO "https://unpkg.com/reset-css/sass/_reset.scss"
```With [NPM](http://npmjs.com):
```command
$ npm install reset-css
```With [Yarn](https://yarnpkg.com):
```command
$ yarn add reset-css
```With [Bower](http://bower.io):
```command
$ bower install reset-css
```## Usage
HTML:
```html
```
CSS:
```css
@import '/path/to/reset-css/reset.css';
```Via PostCSS and [postcss-import](https://github.com/postcss/postcss-import):
```css
@import 'reset-css';
```Via webpack and [css-loader](https://github.com/webpack-contrib/css-loader):
```js
import 'reset-css';
```Via Less:
```less
@import '/path/to/reset-css/less/reset';
```Via Sass:
```scss
@import '/path/to/reset-css/sass/reset';
```## \*Changelog
Three changes have been made from the 2011 version, all approved by [Mr. Meyer](https://github.com/meyerweb):
- Added `main` to list of HTML 5 elements [(#7)](https://github.com/shannonmoeller/reset-css/pull/7#issuecomment-233969617)
- Added rule to fix `hidden` attribute on HTML 5 elements [(#12)](https://github.com/shannonmoeller/reset-css/issues/12#issuecomment-372821712)
- Added `menu` to list of lists [(#17)](https://github.com/shannonmoeller/reset-css/pull/17#issuecomment-542340039)----
Eric Meyer http://meyerweb.com/eric/tools/css/reset/
License: none (public domain)