1<! DOCTYPE html>2"en">34<meta charset="UTF-8">5<title>Title</title>67<style type="Text/css">8 9 /*Ten CSS Transparency One Rgba (0,0,0,0.1) four parameters, the first three represents the color value, the last one represents transparency almost all browsers support RGBA except IE A - IE9, Firefox, Chrome, Opera, and Safari use attribute opacity to set the transparency. The Opacity property can set the value from 0.0 to 1.0. The smaller the value, the more transparent. - IE8 and earlier versions use the filter Filter:alpha (opacity=x). X can take a value from 0 to 100. The smaller the value, the more transparent. the */ -div{width:200px; height:200px;margin-bottom:30px;} -#div1 {Background:rgba (0,0,0,0.1);} -#div2 {background:#000000; Opacity:0.1; Filter:alpha (opacity= -)}/*IE Filter*/ +</style> -<body> + A at<div id="Div1"> -</div> -<div id="Div2"> -</div> -<div id="Div3"> -</div> in -</body> toCSS Transparency Properties