We would like to know how to set opacity except border of divs.
<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
#border {
border: 1px solid #000;
display: inline-block;
}<!--from ww w . j a va 2 s. c om-->
.content {
opacity: 0.1;
}
</style>
</head>
<body>
<div id="border">
<div class="content">hello</div>
</div>
</body>
</html>
The code above is rendered as follows: