CSS Property:
opacity:
0.9
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1
1
initial
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
w3ii.com
- Play it