HTML CSS examples for CSS Property:opacity
CSS applying opacity from child to parent layer
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> body, html { margin:0; padding:0; } #box {<!-- w w w. j a v a 2 s . c o m--> border-top:51px solid Chartreuse; border-left:41px solid yellow; border-right:51px solid blue; border-bottom:61px solid pink; width:201px; height:201px; box-sizing:border-box; -webkit-box-sizing:border-box; } #content { position:absolute; width:201px; height:201px; border:3px solid OrangeRed; top:0; color:grey; } </style> </head> <body> <div id="box"></div> <div id="content"> Lorem ipsum do </div> </body> </html>