Check out this fiddle: http://jsfiddle.net/dzAJp
All the divs are styled with a light blue background color using the background-color
CSS property instead of background-image
.
I want to darken the second div slightly by combining its current background color with rgba(0,0,0,0.1). The goal is to define light blue only once for the div
element and not apply it to any specific classes.
Can this be achieved with CSS3 without relying on background images?