Skip to content

mirego/simple-css-reset

master
Switch branches/tags
Code


A simple, no-nonsense CSS reset stylesheet to use as an NPM dependency.

Installation

$ 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.

$ npm install --save-dev ember-cli-node-assets
// 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, you can simply require the reset.css file within the entry point of your app.

$ npm install --save-dev css-loader
// 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.

// gatsby-browser.js
import 'simple-css-reset';

License

simple-css-reset is Β© 2014-2019 Mirego and may be freely distributed under the New BSD license. See the LICENSE.md file.

The reset logo is based on this lovely icon by Hali Gali Harun, from The Noun Project. Used under a Creative Commons BY 3.0 license.

About Mirego

Mirego 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 who imagine and build beautiful Web and mobile applications. We come together to share ideas and change the world.

We also love open-source software and we try to give back to the community as much as we can.

About

🎏 A simple, no-nonsense CSS reset stylesheet to use as an NPM dependency.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages