In IE, how to remove a filter?

I have a class

.tab{filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5ffff', endColorstr='#e8f2f8');}

and when one of the tabs is selected, I want to remove the filter:

 .tab.selectedtab{/*what do I put here to remove the filter?*/} 
+54
css internet-explorer
Oct 27 '10 at 19:32
source share
3 answers

The answer is to set the included filter property as follows:

filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);

+131
Oct 27 2018-10-27
source share

I only tried this in IE8, but it seems to be a trick:

filter: none;

+22
Mar 11 '11 at 20:19
source share
 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(enabled = false)"; filter: none; 
+8
Apr 02 '14 at 12:10
source share



All Articles