Shadow of CSS

Source: Internet
Author: User
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 +

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.