JSFiddle - React, Tailwind, and code Playground

HTML

<div class="container">
    <div class="div"></div>
</div>

CSS

.container {
    background: purple;
    padding:20px;
}
.div {
    height:500px;
    background: red;
}