https://github.com/mirego/simple-css-reset
🎏 A simple, no-nonsense CSS reset stylesheet to use as an NPM dependency.
https://github.com/mirego/simple-css-reset
css reset-css
Last synced: 8 months ago
JSON representation
🎏 A simple, no-nonsense CSS reset stylesheet to use as an NPM dependency.
- Host: GitHub
- URL: https://github.com/mirego/simple-css-reset
- Owner: mirego
- License: bsd-3-clause
- Created: 2014-12-22T15:33:06.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2023-10-03T18:18:18.000Z (over 2 years ago)
- Last Synced: 2025-08-10T02:27:30.849Z (9 months ago)
- Topics: css, reset-css
- Language: CSS
- Homepage: https://open.mirego.com
- Size: 156 KB
- Stars: 20
- Watchers: 51
- Forks: 4
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
## Installation
```bash
$ npm install --save simple-css-reset
```
## Usage
### Ember.js
You need the `ember-cli-node-assets` package to be able to import the CSS file into your application. Then you need to add the reset file to the `ember-cli` build file.
```bash
$ npm install --save-dev ember-cli-node-assets
```
```js
// ember-cli-build.js
module.exports = function(defaults) {
const app = new EmberApp(defaults, {
nodeAssets: {
'simple-css-reset': {
import: ['reset.css']
}
}
});
};
```
### Webpack
Assuming you have properly installed and configured [CSS loader](https://github.com/webpack-contrib/css-loader), you can simply require the `reset.css` file within the entry point of your app.
```bash
$ npm install --save-dev css-loader
```
```js
// index.js
import 'simple-css-reset/reset.css';
```
### Gatsby
Since `simple-css-reset` is meant to be used a global reset stylesheet, the best way to use it in Gatsby is including in `gatsby-browser.js`.
```js
// gatsby-browser.js
import 'simple-css-reset';
```
## License
`simple-css-reset` is © 2014-2019 [Mirego](http://www.mirego.com) and may be freely distributed under the [New BSD license](http://opensource.org/licenses/BSD-3-Clause). See the [`LICENSE.md`](https://github.com/mirego/simple-css-reset/blob/master/LICENSE.md) file.
The reset logo is based on [this lovely icon by Hali Gali Harun](https://thenounproject.com/term/reset/415758), from The Noun Project. Used under a [Creative Commons BY 3.0](http://creativecommons.org/licenses/by/3.0/) license.
## About Mirego
[Mirego](https://www.mirego.com/en) is a team of passionate people who believe that work is a place where you can innovate and have fun. We're a team of [talented people](https://life.mirego.com/en) who imagine and build beautiful Web and mobile applications. We come together to share ideas and [change the world](http://www.mirego.org/en).
We also [love open-source software](https://open.mirego.com) and we try to give back to the community as much as we can.