Posted By

LeeRJohnson on 06/23/09


Tagged

css filter CSS3 rgba gradiants


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

wizard04
sapphiriq


RGBa Background Gradiant


 / Published in: CSS
 

URL: http://css-tricks.com/rgba-browser-support/

  1. .grad {
  2. /* The Fallback Color */
  3. background: rgb(200, 54, 54);
  4.  
  5. /* The Important Bit - Alpha Transparency */
  6. background: rgba(200, 54, 54, 0.5);
  7.  
  8. *background:transparent;
  9. *filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000050,endColorstr=#99000050);
  10. zoom: 1;
  11.  
  12. }

Report this snippet  

You need to login to post a comment.