Return to Snippet

Revision: 41624
at February 21, 2011 18:57 by dkl3in


Initial Code
#element {
   background: rgb(65, 200, 160); /* Fallback */
   background: rgba(65, 200, 160, 0.5);
}

.ie6-8 #element{
   background:transparent;
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#40c8a050,endColorstr=#40c8a050);
   zoom: 1;
}

Initial URL


Initial Description
RGBa is a way to declare a color in CSS that includes alpha transparency support.
Filter for IE could be add per conditional comment

Initial Title
RGBa Background Color

Initial Tags
background, CSS3

Initial Language
CSS