0.2.0 • Published 8 years ago

jss-legacy-browsers v0.2.0

Weekly downloads
3
License
-
Repository
github
Last release
8 years ago

jss-legacy-browsers

JSS plugin that handles legacy browser support

##Description

This jss plugin checks for properties that can be mapped to legacy browsers styles at run time.

{
    '.container': {
        display: 'flex'
    }
}

In IE10 will be mapped to:

.container {
    display: -ms-flexbox;
}

Register plugin

var jss = require('jss')
var legacyBrowsers = require('jss-legacy-browsers')
jss.use(legacyBrowsers())

Legacy browsers supported

  • IE10
  • Mozilla Firefox Gecko

...more to come