Filter: progid: DXImageTransform. Microsoft. Gradient use

Source: Internet
Author: User

Filter: progid: DXImageTransform. Microsoft. Gradient use

Syntax: 
Filter: progid: DXImageTransform. Microsoft. gradient (Enabled = benabled, startcolorstr = iwidth, endcolorstr = iwidth)

Scope of use:

Only available in IE browser.

Attribute:
Enabled: Optional. Boolean ). Set or retrieve whether the filter is activated. True | false
True: default value. Filter activation.
False: the filter is disabled.
Startcolorstr: Optional. String ). Set or retrieve the start color and transparency of the color gradient.
The format is # 20.rggbb. AA, RR, GG, and BB are hexadecimal positive integers. The value range is 00-ff. Rr specifies the red value, GG specifies the green value, BB specifies the blue value, see # rrggbb color unit. AA specifies the transparency. 00 is completely transparent. FF is completely opaque. The value that exceeds the value range is restored to the default value.
The value range is # ff000000-# ffffff. The default value is # ff0000ff. Opaque blue.
Endcolorstr: Optional. String ). Set or retrieve the end color and transparency of the color gradient. See startcolorstr attributes. The default value is # ff000000. Opaque black.


Features:
Enabled: read/write. Boolean ). See enabled attributes.
Gradienttype: read/write. Integer ). Set or retrieve the direction of the color gradient. 1 | 0
1: default value. Horizontal gradient.
0: vertical gradient.
Startcolorstr: read/write. String ). See startcolorstr attributes.
Startcolor: read/write. Integer ). Set or retrieve the start color of the color gradient. Value Range: 0-4294967295. 0 is transparent. 4294967295 is not transparent white.
Endcolorstr: read/write. String ). Set or retrieve the end color and transparency of the color gradient. See startcolorstr attributes. The default value is # ff000000. Opaque black.
Endcolor: read/write. Integer ). Set or retrieve the ending color of the color gradient. Value Range: 0-4294967295. 0 is transparent. 4294967295 is not transparent white. When this feature is used in a script, it can also be in hexadecimal format: 0 x1_rggbb.


Note:
Display the custom color layer between the background and content of the object.
When this effect is displayed through a transformation, the procedural initialization of the text above the color layer of the gradient volume is transparent. After the color gradient is implemented, the text color is updated with the defined value.


Example:

Filter: progid: DXImageTransform. Microsoft. gradient (Enabled = 'true', startcolorstr = '# ffff', endcolorstr =' # ff0000'); Border: 1px solid red; "> 156465
IE:
 
 

Filter: progid: DXImageTransform. Microsoft. Gradient use

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.