JSFiddle - React, Tailwind, and code Playground
HTML
<div class="wrapper">
<div class="mainG mainGT">
<div class="rawV">
<div class="svs"></div>
<div class="drgM">
<svg width="100" min-height="100">
<circle cx="50" cy="50" r="40" stroke="green" stroke-width="4" fill="yellow" />
</svg>
</div>
</div>
</div>
</div>
<div class="botttom"><button type="button">Click Me!</button></div>
CSS
.wrapper {
border: 1px dotted green;
height: 30px;
}
.mainG {
border: 1px solid yellow;
width: 400px;
}
.rawV {
border: 1px dotted blue;
position: relative;
display: inline-block;
vertical-align: top;
width: 100%;
}
.drgM img {
display: block;
width: 100%;
}
.svs {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
border: 1px dashed red;
}
.bottom{
background-color: #f00;
}