Compatible with CSS linear gradient (linear-gradient) of IE and Firefox)

Source: Internet
Author: User
IE series filter: progid: DXImageTransform. microsoft. gradient (startcolorstr = '# ff0000', endcolorstr =' # f9f900 ', gradienttype = '0'); parameter: startcolorstr start color endcolorstr end color gradienttype is 0 time table vertical, for the first time table level Firefox Background:-moz-linear-gradient (top, # ff0000, # f9f900); parameters: Top, bottom vertical, left, Right horizontal for example: top gradient from # ff0000 to # f9f900, bottom gradient from # ff0000 to # f9f900 opera background:-o-linear-gradient (top, # ff0000, # f9f900); parameter: T Op, bottom vertical, left, Right horizontal For example: Top from # ff0000 to # f9f900 gradient, bottom from the bottom from # ff0000 to # f9f900 gradient WebKit, background such as chrome and Safari:-WebKit-gradient (linear, 0% 0%, 0% 100%, from (# ff0000), to (# f9f900); parameter: Linear linear, x1 X2, X3 X4 X1 and X3 are both vertical, while X2 and X4 are horizontal from starting color to ending color <! Doctype HTML public "-// W3C // dtd xhtml 1.0 transitional // en" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <HTML xmlns = "http://www.w3.org/1999/xhtml">
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.