Cross Browser CSS Opacity


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



Copy this code and paste it in your HTML
  1. opacity: 0.5; /*Future Proof*/
  2. -moz-opacity: 0.5; /*Mozilla*/
  3. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; /*IE 8*/
  4. filter: alpha(opacity=50); /* IE 6 and 7*/
  5. -khtml-opacity: 0.5; /*Old School*/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.