Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

CSS Transparent Background

DZone's Guide to

CSS Transparent Background

·
Free Resource
// Full support: Firefox, Safari, Opera, Chrome, IE
// Swiped from http://www.phpied.com/css-performance-ui-with-fewer-images/

.rgba {
  background-color: transparent;
  background-color: rgba(200,200,200,0.8);
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99dddddd,endColorstr=#99dddddd);
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99dddddd,endColorstr=#99dddddd)";
}

Topics:

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}