CSS Property:
opacity:

Result:



A yellow DIV element.



Change the opacity of myDIV.
CSS Code:
#myDIV {
background-color:lightblue;
width:200px;
height:100px;
opacity:0.9;
}
Click the property values above to see the result
W3Schools.com - Play it