The filter properties in a DHTML CSS element are used to add styles and effects to text or images.
You can add them just as you would any CSS element in your style tags, either locally, internally, or as an external sheet. The following is a list of some of the filter properties, and what they do.
- Alpha - sets the opacity of the element
- Blur - makes the element blur
- Chroma - makes the specified color transparent
- Fliph - flips the element horizontally
- Flipv - flips the element vertically
- Glow - makes the element glow
- Gray - renders the element in black and white
- Invert - renders the element in its reverse color and brightness values
- Mask - renders the element with the specified background color, and transparent foreground color
- Shadow - renders the element with a shadow
- Dropshadow - renders the element with a dropshadow
- Wave - renders the element like a wave
- Xray - renders the element in black and white with reverse color and brightness values
There are different arguments each of these properties attain. Here's a list of each of their attributes:
- Alpha:
- opacity
- finishopacity
- style
- startx
- starty
- finishx
- finishy
- Blur:
- add
- direction
- strength
- Chroma:
- color
- Fliph:
- -none
- Flipv:
- -none
- Glow:
- color
- strength
- Gray:
- -none
- Invert:
- -none
- Mask:
- color
- Shadow:
- color
- direction
- Dropshadow:
- color
- offx
- offy
- positive
- Wave:
- add
- freq
- lightstrength
- phase
- strength
- Xray:
- -none
The format for a filter goes as follows:
|
selector {
|
{filter:(=, =);}

10 Random HTML and CSS Tutorials :
10 Random Markuptutorials.com Materials:





