JSFiddle - React, Tailwind, and code Playground

HTML

<div id="hold">
    <div id="held"></div>
</div>

CSS

#hold {
 position:absolute;
 background:orange;
 width:100%;
 height:100%;
 padding:10px;
}
#held {
 position:relative;
 width:100%;
 height:100%;
 background:green;
}