Nostalgic Perogi Monogramming

set-styles

0.0.1 • Public • Published

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'
})

Keywords

none

install

npm i set-styles

Downloadsweekly downloads

0

version

0.0.1

license

MIT

last publish

collaborators

  • avatar
Report a vulnerability