Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

4wdmedia/postcss-ie8

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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'
}

About

Strips properties and selectors that are unsupported by IE8

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.