Overlapping CSS elements with different opacity - HTML CSS CSS Property

HTML CSS examples for CSS Property:opacity

Description

Overlapping CSS elements with different opacity

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">
#wrapper {<!-- w w  w  .  j  av  a 2 s  . c om-->
   width:941px;
   margin:0 auto;
   background:Chartreuse;
   padding:51px;
}

input[type=text] {
   -webkit-border-radius:6px;
   -moz-border-radius:6px;
   border-radius:6px;
   height:31px;
   padding-top:6px;
   background:yellow;
   color:blue;
   border:2px solid pink;
}
</style> 
 </head> 
 <body> 
  <div id="wrapper"> 
   <input type="text"> 
  </div>  
 </body>
</html>

Related Tutorials