I added a transparent background on a div, over a white background with like that:
body {
background: white;
}
.opaque-white {
background: rgba(255,255,255,0.95);
height: 300px;
width: 300px;
}
<body>
<div class="opaque-white">
Area with opaque (opacity: 0.95) background.
</div>
</body>
JSFiddle link: http://jsfiddle.net/DvYCA/4/
but for some reason the color of the div shows grey instead of white. Opaque white over white should display...white, right?
Or am I mistaken?
EDIT: I'm adding a screenshot of the problem. It's a very subtle difference, yet noticeable in some screens. To actually understand the difference, try color picking the left side of the image, with the right area.
It's not your screen. The color picker does not lie. I see the bug is still present in Chrome 38 and Canary 40. The thing that worked for me was to add transform: translateZ(0);
to the .opaque-white div.