get-prefix
v1.0.0
Published
Get browser style prefixes for Javascript.
Downloads
98,471
Maintainers
Readme
Get Prefix 1.0.0
Get browser style prefixes for Javascript.
Install
npm install get-prefix --save
bower install get-prefix --save
Example Usage
import getPrefix from 'get-prefix'
const div = document.createElement('div')
const transform = getPrefix('transform')
div[transform] = 'rotate(360deg)'