Bachir Soussi Chiadmi 2abb12981c first round of dev %!s(int64=9) %!d(string=hai) anos
..
.bower.json 2abb12981c first round of dev %!s(int64=9) %!d(string=hai) anos
README.md 2abb12981c first round of dev %!s(int64=9) %!d(string=hai) anos
bower.json 2abb12981c first round of dev %!s(int64=9) %!d(string=hai) anos
component.json 2abb12981c first round of dev %!s(int64=9) %!d(string=hai) anos
get-style-property.js 2abb12981c first round of dev %!s(int64=9) %!d(string=hai) anos
package.json 2abb12981c first round of dev %!s(int64=9) %!d(string=hai) anos

README.md

getStyleProperty - quick & dirty CSS property testing

Original by @kangax :heart_eyes: :zap: :star2:. See perfectionkills.com/feature-testing-css-properties/

var transformProp = getStyleProperty('transform');
// returns WebkitTransform on Chrome / Safari
// or transform on Firefox, or MozTransform on old firefox

// then you can use it when setting CSS
element.style[ transformProp ] = 'translate( 12px, 34px )';

// or simply check if its supported
var supportsTranforms = !!transformProp;

Install

Bower :bird:: bower install get-style-property

npm: npm install desandro-get-style-property

Component: component install desandro/get-style-property

MIT License

getStyleProperty is released under the MIT License.