"CSS3" notes--gradient design (iii)

Source: Internet
Author: User
CSS gradient implementation method of IE browser engine

IE does not support CSS gradients, but it provides a gradient filter that can be used to achieve a simple gradient effect.

Basic syntax

The parameters of this parameter are described as follows:

Enabled: Sets or retrieves whether the filter is active. An optional Boolean value that includes true and false, with a default value of True, indicating the activation state.

StartColor: Sets or retrieves the start color and transparency of a color gradient. Optional, formatted as #aarrggbb. AA,RR,GG,BB is a 16-binary positive integer with a value range of 00~ff. RR specifies a red value, GG specifies a green value, BB specifies a blue value, AA specifies the transparency, 00 is completely transparent, and FF is completely opaque. Values that exceed the range of values will be reverted to the default values. The value range is #ff0000~ #FFFFFF, and the default value is #ff0000ff, which is opaque blue.

ENDCOLORSTR: Sets or retrieves the end color and transparency of a color gradient. The default value is #ff000000, which is opaque black.

IE Gradient Filter Combat application

Using the IE filter to design the gradient background, and then the background image to design graphics and illustrations effect.

Code:

<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">


Related Article

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.