JSFiddle - React, Tailwind, and code Playground

HTML

<form id="formulario" name="formulario" action="qqcoisa.php">
    <fieldset>
        <legend>descrição</legend>
        
        <label>
            <span>Cor1</span>
            <input type="text" name="cor" />
        </label>
        
        <label>
            <span>Altura</span>
            <input type="text" name="altura" />
        </label>
        
        <button type="submit">Enviar</button>
        
    </fieldset>
    
</form>

CSS

form#formulario{}
form#formulario fieldset{
    border:1px solid #666;
    padding:10px;
}
form#formulario fieldset legend{
    border:1px solid #666;
    color:#fca;
    background:#666;
    padding:5px 10px;
    text-transform:uppercase;
}
form#formulario fieldset label{
    display:block;
    overflow:hidden;
    border-bottom:1px solid #999;
    padding:5px 0;
}
form#formulario fieldset label span{
    display:block;
    float:left;
    width:90px;
    text-align:right;
    padding:0 10px 0 0;
}
form#formulario fieldset label input{
    display:block;
    float:left;
}