ruk·si

🎨 CSS
Input Addon

Updated at 2018-03-09 03:40
Amount
<div class="input-box">
    <span class="input-box-addon">Amount</span>
    <input class="input-box-field" />
    <button class="input-box-addon">Pay</button>
</div>
.input-box {
    display: flex;
}
.input-box-field {
    flex: 1;
}
.input-box-addon {
    background: gray;
    border: 1px #cecece solid;
}

Sources