Browser Support für RGBa
Chris Coyier hat eine schöne Auflistung zusammengestellt welche Browser RGBa unterstützen.
Im Einsatz sieht RGBa so aus:
div {
background: rgb(200, 54, 54);
background: rgba(200, 54, 54, 0.5);
}
Natürlich braucht der IE eine Sonderbehandlung:
<!--[if IE]>
<style type="text/css">
.color-block {
background:transparent;
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000050,endColorstr=#99000050);
zoom: 1;
}
</style>
<![endif]-->
