Library to manipulate CSS properties
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
.npmignore
README.md
index.js
package.json
test.js

README.md

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