Filter gray image, black around png in Internet Explorer 8

JavascriptWeb DevelopmentFront End Scripts

The filters to be applied must be formed in a single filter call. Set like this:

progid : DXImageTransform.Microsoft.BasicImage(grayscale = 1)

The CSS should work like the following:

.demo {
   background: transparent;
   -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr = #00FFFFFF,endColorstr = #00FFFFFF)
   progid:DXImageTransform.Microsoft.BasicImage(grayscale = 1)"; /* IE8 */
   zoom: 1;
}

raja
Published on 10-Apr-2018 11:10:38
Advertisements