The shadow filter add the shadow effect to the element.
#example {
filter: shadow(color=red, direction=135);
}
Attribute |
Value |
Explanation |
color |
color code or name |
the color of the shadow |
direction |
0 - 315 (45 degree increments) |
the direction of the shadow
0 = top
45 = right top
90 = right
135 = right bottom
180 = bottom
225 = left bottom
270 = left
315 = left top
|
Example