<div class="height"> <label for="Height">Height (cm)<sup>*</sup></label> <input id="Height" type="text" autocomplete="off" name="text" class="input" /> </div>
.height { display: flex; flex-direction: column; } .height label { font-size: 18px; margin-left: 20px; } .height sup { color: red; } .height .input {