DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

CSS Hacks For Opacity

05.05.2007
| 5031 views |
  • submit to reddit
        in Internet Explorer 4, Gecko-based browsers, and Safari.
#transparent {
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
    opacity: 0.5;
}