JSFiddle - React, Tailwind, and code Playground
HTML
<fieldset>
<legend>Header</legend>
</fieldset>
CSS
fieldset {
width:300px;
height:200px;
border-color:black;
}
legend {
font-weight:bold;
font-size:30px;
}
<fieldset>
<legend>Header</legend>
</fieldset>
fieldset {
width:300px;
height:200px;
border-color:black;
}
legend {
font-weight:bold;
font-size:30px;
}