1.0.2 • Published 4 years ago
@thisguychris/css-feature-test v1.0.2
css-feature-test
a convenience function to test css property.
Getting Started
Given two arguments:
- property
- value
It returns the applicable css property.
Basic Usage
Requiring:
npm install @thisguychris/css-feature-test
In your JS:
var featureTest = require('@thisguychris/css-feature-test')
// now you can use it for testing
featureTest('postion', 'sticky') // returns "position: sticky;" or the prefixed version depending upon what browser.