1.0.2 • Published 4 years ago

@thisguychris/css-feature-test v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

css-feature-test

a convenience function to test css property.

npm

Getting Started

Given two arguments:

  1. property
  2. 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.
1.0.2

4 years ago

1.0.1

7 years ago