set-styles

Batch-set CSS properties on an element.

set-styles

Batch-set CSS properties on an element.

Install set-styles from npm or airportyh/set-styles from component.

var setStyles = require('set-styles')
 
setStyles(element, {
  position: 'absolute',
  top: 100,
  left: 200,
  width: 200,
  height: 200
})