My goal is to design a simple webpage with two full screen background colored divs. On top of these background divs, I want to add two smaller divs where I can input text and place a button underneath to randomize the words (refer to the attached screenshot for reference).
View Screenshot of Desired Layout
I have created the code for the background divs but for some reason, I am struggling to overlay any elements on top of them...
.container {
height: 100%;
padding: 0;
text-align: center
}
.inner {
width: 50%;
height: 100%;
display: inline-block;
}
.inner.left {
background-color: brown;
}
.inner.right {
background-color: grey;
}
<div class="container">
<div class="inner left"></div>
<div class="inner right"></div>
</div>