JSFiddle - React, Tailwind, and code Playground
HTML
<div id="corners">
<div id="content">
content
</div>
</div>
CSS
#corners {
width: 200px;
height: 50px;
border-radius: 10px;
background-color: red;
margin: 10px;
}
#content {
background-color: white;
border-radius: 15px;
height: 30px;
padding: 10px;
}