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

Detailed explanation of CSS transparency property_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:54:461164browse

.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.

Statement:
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