CSS3, , div div, , . .
div , -750px;, 1, div 0,1, ,
CSS3 :
#fade
{
width:750px;
height:150px;
background-color: rgba(255,255,255,0.1);
}
0.1. 1.
What I personally do most often is to create a small .png with the transparent background that I want, and then I set this .png as the background of the element. In Photoshop, I could set the white background opacity to 0.1, and then keep the 50X50 square, and then I have almost perfect transparency (without IE6).
source
share