Strips properties and selectors that are unsupported by IE8
npm install postcss-ie8postcss plugin for transforming a stylesheet to an IE8-compatible stylesheet.
``js`
npm install postcss-ie8
Type: Array
Array with regular expressions of selectors which should be removed.
Example
`js`
{
selectors: [
/:last-child/,
/:nth-child/,
/:nth-last-child/,
]
}
Type: Array
Array of atRules to remove.
Default
`js`
{
atRules: [
'keyframes',
'supports',
'document',
]
}
Type: Booleanfalse
Default:
Remove all prefixes in declarations.
Type: Array
Array with regular expressions of properties which should be removed.
Type: Array
Array with regular expressions of values which should be removed.
Type: Object
Options for css-mediaquery.
Default
`js``
{
type: 'screen',
width: '1024px'
}