Cross-Browser Transparency via CSS


/ Published in: CSS
Save to your folder(s)



Copy this code and paste it in your HTML
  1. selector {
  2. filter: alpha(opacity=50); /* internet explorer */
  3. -khtml-opacity: 0.5; /* khtml, old safari */
  4. -moz-opacity: 0.5; /* mozilla, netscape */
  5. opacity: 0.5; /* fx, safari, opera */
  6. }

URL: http://www.designyourway.net/blog/resources/31-css-code-snippets-to-make-you-a-better-coder/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.