The correct way to do CSS opacity in all browsers


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

If you don’t use this order, IE8-as-IE7 doesn’t apply the opacity, although IE8 and a pure IE7 do.


Copy this code and paste it in your HTML
  1. opacity:0.9;
  2. filter: alpha(opacity=90);
  3. -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";

URL: http://www.quirksmode.org/css/opacity.html

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.