Prev | Current Page 539 | Next

Tommy Olsson and Paul O'Brien

"The Ultimate CSS Reference"


filter
filter:filter;
Since version 4, Internet Explorer for
Windows has implemented a range of
visual effects and transitions through
the use of the proprietary filter
property. Many weird and wonderful
filters20 are available (there are too
many to mention here!) but it??™s worth
documenting some of them. The syntax
used in the examples of filter
provided here, however, will only
function in Internet Explorer 5.5 or
later.
SPEC
version initial inherited
N/A N/A NO
BROWSER SUPPORT
Op9.2 Saf3 FF2 IE5.5+
NONE NONE NONE FULL
Example
This example applies a filter called
MotionBlur to the element with the ID
"example":
#example {
filter: progid:DXImageTransform
??? .Microsoft.MotionBlur(
??? strength=10,
??? direction=310);
}
Vendor-specific Properties
Filters and Layout
For filters to work, the element in question must have a layout??”a requirement that
can be achieved most simply by setting a dimension such as width. See The Internet
Explorer hasLayout Property (p.


Pages:
527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551