Back CSS

CSS Transparency Setting for all browsers

WRITTEN BY ON 15 Dec 2010
9,313 VIEWS • SHARES
1 comment

Yes, I can never able to remember it, so I guess it's a must to list it out here for future reference.

CSS

.transparent_class {  
	filter:alpha(opacity=50);    /* ie  */
	-moz-opacity:0.5;    /* old mozilla browser like netscape  */
	-khtml-opacity: 0.5;    /* for really really old safari */  
	opacity: 0.5;    /* css standard, currently it works in most modern browsers like firefox,  */
} 

Join the discussion

Comments will be moderated and rel="nofollow" will be added to all links. You can wrap your coding with [code][/code] to make use of built-in syntax highlighter.

1 comment
Geoff Kendall 5 years ago
Thanks, appreciated!
Reply