Skip to content

Inject normalize.css by simply require("normalize.css.js") This is also safe to do on the server

License

Notifications You must be signed in to change notification settings

smallhelm/normalize.css.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

normalize.css.js

Inject normalize.css into browser by require("normalize.css.js"). This also returns the css code and safe to run on the server.

  • No browserify transform needed.
  • This works similar to insert-css.
  • Always installs the latest normalize.css.
  • Runs safely on both client and server

Example

require("normalize.css.js");

On the browser it will inject the css into the <head>

You can also use this to get the css code of normalize.css

var normalize_css_code = require("normalize.css.js");

Install

$ npm install --save normalize.css.js

License

MIT

About

Inject normalize.css by simply require("normalize.css.js") This is also safe to do on the server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published