Set background color to transparent - HTML CSS CSS Property

HTML CSS examples for CSS Property:background-color

Description

Set background color to transparent

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">

html    {<!--from   w  ww . j  a  v a  2  s .co m-->
   background-color:rgba(53, 135, 65, 0.80);
}
div {
   background-color:#fff;
   color:rgba(9, 7, 7, 0.23);
}


      </style> 
 </head> 
 <body> 
  <div>
    Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore 
    et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut 
    aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum 
    dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui 
    officia deserunt mollit anim id est laborum. 
  </div>  
 </body>
</html>

Related Tutorials