1.0.3 • Published 7 years ago
normalize.jss v1.0.3
normalize.jss
normalize.css converted to and exported as a JSS object.
This is version 5.0.0 of normalize.css converted to JSS using the JSS-CLI
Use case:
If you're using JSS for styling, and want to use normalize.css as a base. However, you don't want to setup Webpack to load CSS just for the one file.
Getting started
Simply install into your project with npm:
npm install --save normalize.jss
Then import and load Normalize as a global style with JSS:
import Normalize from 'normalize.jss';
import jss from 'jss';
const sheet = jss.createStyleSheet({ '@global': Normalize });
sheet.attach();
The jss-global plugin must be installed and enabled to use the @global
declaration above.