css-legacy-browsers

0.1.2 • Public • Published

css-legacy-browsers

CSS legacy browser support detection and property testing. Provides a list of proprietary legacy browser properties that can be matched to current styles (ie: display: flex ---> display: -ms-flexbox)

uses

var cssLegacyBrowsers = require('css-legacy-browsers')

console.log(cssLegacyBrowsers.supportedStyles('display', 'flex')) //in IE10 returns {property: 'display', value: '-ms-flexbox'} 

Tests if value and property are supported on current browser, returns new property/value object if supported, returns false if not supported

Legacy Browsers currently supported

  • IE10 (-ms-)
  • Mozzila Firefox Gecko (-moz-)
    ...more to come

License

MIT

Package Sidebar

Install

npm i css-legacy-browsers

Weekly Downloads

2

Version

0.1.2

License

none

Last publish

Collaborators

  • mateo