Cross-Browser Background Transparency


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



Copy this code and paste it in your HTML
  1. .rgba {
  2. background-color: transparent;
  3. background-color: rgba(200,200,200,0.8);
  4. filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99dddddd,endColorstr=#99dddddd);
  5. -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99dddddd,endColorstr=#99dddddd)";
  6. }

URL: http://www.phpied.com/css-performance-ui-with-fewer-images/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.