JSFiddle - React, Tailwind, and code Playground

by rur_d

HTML

<h1>Hello</h1>
<br/>
<br/>
<br/>
<br/>
<div id="container" class="clearfix">
    <h1>Hello</h1>
    <p>asfesdgasfesefsf</p>
    <div id="Example_H" class="example">
        
    </div>
</div>

CSS

#Example_H {
-moz-box-shadow: inset 0px 0px 50px #000;
-webkit-box-shadow: inset 0px 0px 50px #000;
box-shadow: inset 0px 0px 50px #000;
}

#container {
 width: 100%;
  overflow: hidden; 
    position:relative;
    border: solid 1px #ff0000;
    padding-top: 20px;
    padding-bottom: 30px;
}

body {
    border: 0px;
    margin: 0px;
    padding: 0px;
}

.example {
    width: 150%;
    position:absolute;
    left: -40px;
    top: 0px;
    z-index:-1;
    height: 100%;
    background-color: #777777;
}

#container h1 {
}
.clearfix::after {
    clear: both;
    content: ' ';
    display: block;
    font-size: 0;
    line-height: 0;
    visibility: hidden;
    width: 0;
    height: 0;
}