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