JSFiddle - React, Tailwind, and code Playground
HTML
<div id="container">
<div id="child">
Child content
</div>
</div>
CSS
#container {
border: 1px solid red;
height: 200px;
}
#child {
margin: auto;
borde1:1px dashed blue;
}
<div id="container">
<div id="child">
Child content
</div>
</div>
#container {
border: 1px solid red;
height: 200px;
}
#child {
margin: auto;
borde1:1px dashed blue;
}