JSFiddle - React, Tailwind, and code Playground
by mattopen
HTML
<div class="ah-input js-input " id="Container_ID_Textarea_1">
<label class="ah-input__label js-resizer-sizer" for="#ID_Textarea_1">
Textbox Label:
</label>
<div class="ah-textbox js-textbox">
<input class="ah-textbox__input js-input-notification-input js-textbox-input not-empty" type="" name="ID_Textarea_1" id="ID_Textarea_1" value="Hier steht ein Beispieltext">
</div>
CSS
.ah-input {
width: 100%;
margin-bottom: 15px;
display: inline-flex;
}
.ah-input__label {
font-family: "FiraSans-Bold",sans-serif;
font-size: 12px;
white-space: nowrap;
margin-right: 10px;
padding-top: 12px;
margin-bottom: 6px;
display: inline-block;
color: #666;
min-height: 14px;
}
.ah-input .ah-textbox:not(.ah-textbox-disabled) input.not-empty {
background-color: #e7f2fa;
}
.ah-textbox.js-textbox {
width: 100%;
}
.ah-textbox__input {
width: 100%;
height: 40px;
border: 0;
padding: 11px;
border-radius: 0;
outline: 0;
box-sizing: border-box;
font-family: inherit;
font-size: 100%;
background-color: #f4f9fd;
-moz-box-shadow: inset 0 1px 5px 1px rgba(0,0,0,.2);
-webkit-box-shadow: inset 0 1px 5px 1px rgba(0,0,0,.2);
box-shadow: inset 0 1px 5px 1px rgba(0,0,0,.2);
color: #666;
-webkit-appearance: none;
-moz-appearance: none;
-ms-appearance: none;
-o-appearance: none;
appearance: none;
}