insert-style

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

npm install insert-style
4 downloads in the last month

insert-style

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

Installation

$ npm install insert-style

Usage

var insert = require('insert-style');

insert('.title', 'color: red; border: 1px solid blue;');

Changelog

  • 1.0.0
    • First version
npm loves you