Skip to content

moliver-bb/css-legacy-browsers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

CSS legacy browser support detection and property testing

Resources

License

Stars

Watchers

Forks

Packages

No packages published