postcss-prefect

2.0.1 • Public • Published

PostCSS Opacity Build Status

PostCSS plugin to add opacity filter for IE8.

/* Input example */
.foo {
  opacity: .5;
}
/* Output example */
.foo {
  opacity: .5;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
}

Usage

postcss([ require('postcss-opacity') ])

See PostCSS docs for examples for your environment.

Package Sidebar

Install

npm i postcss-prefect

Homepage

github.com/

Weekly Downloads

0

Version

2.0.1

License

MIT

Last publish

Collaborators

  • lirongfei123