Filter: alpha (opacity = 100, style = 1)

Source: Internet
Author: User

Filter: alpha (opacity = 100, style = 1)

1. Opacity attribute: sets the transparency. The value ranges from 0 to 100. The value 100 indicates that the image is completely opaque;

2. Style attribute: Set the gradient style;

0 indicates a uniform gradient,

1 indicates linear gradient,

2 indicates a radiation gradient,

3 indicates the right angle gradient.

Filter: alpha (opacity = opcity, finishopacity = finishopacity, style = style, startx = startx, starty = starty, finishx = finishx, finishy = finishy)

Opacity indicates the transparency level. The optional values range from 0 to 100. 0 indicates full transparency, and indicates full opacity. The style parameter specifies the shape features of the transparent area. 0 represents a uniform shape; 1 represents a linear shape; 2 represents a radial shape; 3 represents a rectangle.

Finishopacity is an option used to set the transparency at the end to achieve a gradient effect. Its value also ranges from 0 to 100.

Startx and starty represent the starting coordinates of the gradient transparency effect.

Finishx and finishy represent the final coordinate of the gradient transparency effect.

 

 

*************************************

Opacity -- Opacity

    • Value: <alphavalue> | inherit

      • <Alphavalue>: Transparency value (value range: [0.0, 1.0])
      • Inherit: Inheritance
    • Initial Value: 1 (not transparent)
    • Inheritance: Yes
    • Applicable to: All elements
    • URL: http://www.dreamdu.com/css/property_opacity/
    • Css3 proposes opacity attributes

*************************************

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.