Home >Web Front-end >HTML Tutorial >Detailed explanation of CSS transparency property_html/css_WEB-ITnose
.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.