opacity

by chen Bright

HTML

<div class="outter">outter
  <div class="inner">inner</div>
</div>

CSS

.outter {
      opacity: .5;
      
      width: 200px;height: 300px;background: red;color: #fff;
    }
    
    .inner {
      position: relative;z-index: -1;
      
      width: 300px;height: 200px;background: blue;
    }