Code Snippet > CSS
CSS Transparency Setting for all browsers
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, */
}
This code snippet was submitted by:
Kevin Liew is a web designer and developer and keen on contributing to the web development industry. He loves frontend development and absolutely amazed by jQuery. Feel free to say hi to me, or follow @quenesswebblog on twitter.
Leave a comment
Have something to say? Drop a comment! No HTML tags are allowed in the comment textfield.





















1 comment