set-styles
v0.0.1
Published
Batch-set CSS properties on an element.
Downloads
163
Readme
set-styles
Batch-set CSS properties on an element.
Install
Install set-styles
from npm or airportyh/set-styles
from component.
Usage
var setStyles = require('set-styles')
setStyles(element, {
position: 'absolute',
top: 100 + 'px',
left: 200 + 'px',
width: 200 + 'px',
height: 200 + 'px'
})