Simple CSS code for Transparency setting for all browsers, IE, Firefox, Opera, Safari and Google Chrome


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



Copy this code and paste it in your HTML
  1. .transparent_class {
  2. filter:alpha(opacity=50); /* ie */
  3. -moz-opacity:0.5; /* old mozilla browser like netscape */
  4. -khtml-opacity: 0.5; /* for really really old safari */
  5. opacity: 0.5; /* css standard, currently it works in most modern browsers like firefox, */
  6. }

URL: http://w3updates.com/css-transparency-setting-for-all-browsers-internet-explorer-firefox-opera-safari-google-chrome/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.