CSS transparent filter, supports ff, ie6.0, ie7.0, and ie8.0

Source: Internet
Author: User

Filter: alpha (opacity = 50); opacity: 0.5;
Opacity: relative to IE. Firefox does not seem to support it. Value: percentage, 100 indicates the opacity is 100%, and 50 indicates the opacity is 50%.
-Moz-opacity: relative to FF, Firefox. Value: decimal point. 1 indicates that the opacity is 100%; 0.5 indicates that the opacity is 50%.
Note: The above filter IE8 is not supported. Therefore, we need to declare it using <meta http-equiv = "X-UA-compatible" content = "Ie = 7"/>. Force IE8 to display as IE7.

Basically, it can be solved perfectly! The following filters are not supported in ff. Add-Moz before the name to solve the problem.

Other filters
Black/white photo filter: Gray;
X-ray filter: Xray;
Pneumatic fuzzy filter: blur (add = true, direction = 45, strength = 30 );
Sine ripple filter: Wave (add = 0, freq = 60, lightstrength = 1, phase = 0, strength = 3 );
Translucent filter: alpha (opacity = 50 );
Linear transparent filter: alpha (opacity = 0, finishopacity = 100, style = 1, startx = 0, starty = 0, finishx = 100, finishy = 140 );

Radioactive transparent filter: alpha (opacity = 10, finishopacity = 100, style = 2, startx = 30, starty = 30, finishx = 200, finishy = 200 );

White transparent filter: chroma (color = # ffffff );
Color Filter: grays;
Negative filter: invert;
Left-right flip filter: fliph;
Vertical flip filter: flipv;
Projection effect filter: progid: DXImageTransform. Microsoft. dropshadow (color = # cccccc, offx = 5, offy = 5, positives = true );

Mosaic filter: progid: DXImageTransform. Microsoft. pixelate (maxsquare = 3 );
Luminous effect filter: progid: DXImageTransform. Microsoft. Glow (color = # cccccc, strength = 5 );

Soft Edge Filter: alpha (opacity = 100, finishopacity = 0, style = 2

From: http://hi.qhaha.com/post/17.html

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.