<label for="myInput" class="label"> <span class="label-title">My nice input</span> <input id="myInput" class="input" name="text" placeholder="Type something..." type="text"> </label>
.label { --border: rgba(66, 66, 66, 0.733); --bgLabel: rgba(120,120,120,1); --bgInput: rgba(255,255,255,1); --color-light: rgb(98, 0, 255); --color-light-a: rgb(133, 123, 150); display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: min-content min-content; background: var(--bgLabel); position: relative; font-size: .65rem;