insert-style

Simple helper for inserting new css rules into page (not into element).

insert-style

Simple helper for inserting new css rules into page (not into element).

$ npm install insert-style
var insert = require('insert-style');
 
insert('.title', 'color: red; border: 1px solid blue;');
  • 1.0.0
    • First version