dom-style

1.0.0 • Public • Published

dom-style

Inline CSS manipulation library

var style = require('dom-style')
 
style(document.body, 'background-color', 'red')
 
style(document.body, {
  'font-color': 'yellow',
  'border': '5px solid black'
})
 

Install

$ npm install dom-style

/dom-style/

    Package Sidebar

    Install

    npm i dom-style

    Weekly Downloads

    39

    Version

    1.0.0

    License

    BSD

    Last publish

    Collaborators

    • tehshrike