1.0.4 • Published 4 years ago

postcss-edgie v1.0.4

Weekly downloads
1
License
ISC
Repository
github
Last release
4 years ago

npm.io


Edgie is a PostCSS plugin to easily target Edge and IE.

Built out of frustration with trying deal with specific Edge and IE issues in modern projects.

Note: This only targets the pre-Chromium version of Edge (v44)

Getting started

npm install --save postcss-edgie

Usage

postcss.config.js

module.exports = {
  plugins: [
    require('postcss-edgie'),
  ],
}

style.css

Input
.button {
  background: red;

  @edgie {
    background: blue;
  }
}
Output
.button {
  background: red;
}

@supports (-ms-ime-align:auto) {
  .button {
    background: blue;
  }
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .button {
    background: blue;
  }
}
1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago