stylecow-plugin-msfilter-background-alpha
v5.0.0
Published
Stylecow plugin to add ms filters emulating the rgba/hsla colors in backgrounds in explorer < 9 using ms filters.
Downloads
39
Readme
stylecow plugin msfilter-background-alpha
Stylecow plugin to add ms filters emulating the rgba/hsla colors in backgrounds in explorer < 9 using ms filters. More info: http://css-tricks.com/rgba-browser-support/
You write:
body {
background: rgba(0, 0, 0, 0.2);
}
And stylecow converts to:
body {
background: rgba(0, 0, 0, 0.2);
-ms-filter: 'progid:DXImageTransform.Microsoft.gradient(startColorStr="#33000000", endColorStr="#33000000")';
}
More demos in the tests folder