Home > Web Front-end > HTML Tutorial > Detailed explanation of CSS transparency property_html/css_WEB-ITnose

Detailed explanation of CSS transparency property_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:54:46
Original
1192 people have browsed it

.transparent_class {filter:alpha(opacity=50);-moz-opacity:0.5;-khtml-opacity: 0.5;opacity: 0.5;}

The above attributes are :

opacity: 0.5; This is the most important because it is a CSS standard. This property supports firefox, Safari and Opera.

filter:alpha(opacity=50); This is for Set by IE6, the possible values ​​are 0-100, and the other three are 0 to 1.

-moz-opacity:0.5; This is to support some older versions of the Mozilla browser.

-khtml-opacity: 0.5; This is to support some older versions of Safari browser.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template