Shadow compatibility: ie4.0 + Syntax:
Filter: progid: DXImageTransform. Microsoft. Shadow (Enabled =
Benabled
, Color =
Scolor
, Direction =
Ioffset
, Strength =
Idistance
)Attribute:
| Enabled |
: |
Optional. Boolean ). Set or retrieve whether the filter is activated.True|False
| True |
: |
Default Value. Filter activation. |
| False |
: |
The filter is disabled. |
|
| Color |
: |
Optional. String ). Sets or retrieves the color value that this filter applies. The format is# Rrggbb.Rr,Gg,BbIt is a hexadecimal positive integer. The value range is00-FF.RrSpecify the red value,GgSpecify the green value,BbSpecify the blue value, see # rrggbb color unit. |
| Direction |
: |
Optional. Integer ). Sets or retrieves the direction of the motion offset of the filter effect. The default unit is angle.0|45|90|135|180|225|270|315 Less0Or greater360Is automatically converted0-360. For example,-45Will be converted315.
| 0 |
: |
. |
| 45 |
: |
Upper right corner. |
| 90 |
: |
. |
| 135 |
: |
Bottom right. |
| 180 |
: |
. |
| 225 |
: |
Default Value. Bottom left. |
| 270 |
: |
Left. |
| 315 |
: |
Upper left. |
|
| Strength |
: |
Optional. Integer ). Unit: pixel (PX ). Sets or retrieves the outward diffusion distance in the motion direction based on the object. The value range is> = 0. The default value is5. |
Features:
| Enabled |
: |
Read/write. Boolean ). SeeEnabledAttribute. |
| Color |
: |
Read/write. String ). SeeColorAttribute. |
| Direction |
: |
Read/write. Integer ). SeeDirectionAttribute. |
| Strength |
: |
Read/write. Integer ). SeeStrengthAttribute. |
Note: Create a shadow effect for the object content. Example: div. afilter {filter: progid: DXImageTransform. Microsoft. Shadow (strength = 5, direction = 90 );}
# Odiv {filter: progid: DXImageTransform. Microsoft. Shadow (strength = 10, direction = 45, color = blue);} applies:
| Ie4.0 + |
Tabletdtextareathspanstyleimginput type = buttoninput type = checkboxinput type = fileinput type = imageinput type = passwordinput type = radioinput type = resetinput type = submitinput type = textmarqueedivbutton |
| Ie5.0 + |
Runtimestyle |
| Ie5.5 + |