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)";
}
postcss([ require('postcss-opacity') ])
See PostCSS docs for examples for your environment.