filter (old style) | NN n/a IE 4(Win) CSS n/a
| Inherited: No
Sets the visual, reveal, or blend filter used to display or change content of an element. A visual filter can be applied to an element to produce effects such as content flipping, glow, drop shadow, and many others. A reveal filter is applied to an element when its visibility or appearance changes. The value of the reveal filter determines what visual effect is to be applied to the transition from hidden to shown (or vice versa). This includes effects such as wipes, blinds, and barn doors. A blend filter sets the speed at which a transition between visibility states occurs.
CSS Syntax
    filter: filterType1(paramName1=value1, paramName2=value2,...)
            filterType2(paramName1=value1,...) ...
Value
Each filter attribute may have more than one space-delimited filter type associated with it. Each filter type is followed by a pair of parentheses, which may convey parameters about the behavior of the filter for the current element. A parameter generally consists of a name/value pair, with assignment performed by the equals symbol. See the "Notes" section below for details on filterType values and parameters.
Initial Value
None.
Example
    .fastStuff {filter: blur(add=true, direction=225)}
Applies To
body, button, img, input, marquee, table, td, textarea, tfoot, th, thead, tr, and absolute-positioned div and span elements.
Object Model Reference
    [window.]document.getElementById("elementID").filters["filterName"]