1.0.1 • Published 8 years ago

postcss-ie8 v1.0.1

Weekly downloads
5
License
MIT
Repository
github
Last release
8 years ago

postcss-ie8

postcss plugin for transforming a stylesheet to an IE8-compatible stylesheet.

Installation

npm install postcss-ie8

Options

selectors

Type: Array

Array with regular expressions of selectors which should be removed.

Example

{
	selectors: [
		/:last-child/,
		/:nth-child/,
		/:nth-last-child/,
	]
}

atRules

Type: Array

Array of atRules to remove.

Default

{
	atRules: [
		'keyframes',
		'supports',
		'document',
	]
}

removePrefixes

Type: Boolean Default: false

Remove all prefixes in declarations.

properties

Type: Array

Array with regular expressions of properties which should be removed.

values

Type: Array

Array with regular expressions of values which should be removed.

mqOptions

Type: Object

Options for css-mediaquery.

Default

{
	type: 'screen',
	width: '1024px'
}