postcss5-opacity
v2.0.2
Published
PostCSS plugin to add opacity filter for IE8
Downloads
5
Maintainers
Readme
PostCSS Opacity
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.