CodePen

HTML

            
              <div class="outer">
  <div class="inner"></div>
</div>
            
          
!
via HTML Inspector

CSS

            
              .outer{
  width:500px;
  height:100px;
  background:#999999;
  overflow:hidden;
  margin:0 auto;
  /*  
    You cannot set a position on this element.
  */
}

.inner{
  background:#cccccc;
  position:absolute;
  width:520px;
  height:50px;
  box-shadow:0 0px 5px 5px black;
  margin-top:25px;
  margin-left:-10px;
  overflow:hidden;
}
            
          
!
? ?
? ?
Must be a valid URL.
+ add another resource
via CSS Lint

JS

            
              
            
          
!
Must be a valid URL.
+ add another resource
via JS Hint
Loading ..................