JSFiddle - React, Tailwind, and code Playground
HTML
<div class="page">
<div class="container">
<div class="contentheadercontainer">
<div class="firstheader"></div>
<div class="secondheader"></div>
</div>
</div>
</div>
</div>
CSS
.page{
width:auto;
height:2040px;
}
html, body{
margin:0; padding:0;
}
.container{
margin: 0 auto;
width:1024px;
height:1834px;
background:rgba(52,44,228,1.00);
}
.firstheader{
width: 1024px;
height: 50px;
background-color: #B14345;
position:fixed;
float:left;
}
.secondheader{
width: 1024px;
height: 50px;
float:left;
background-color: #03892A;
margin-top:300px;
position:relative;
}