I's a surprise for me - using an input as a grid element - without a div wrapper.
Is there any downside of this layout?
Is there any problem using textarea, ul, ol... etc, and not only divs, as a grid element?
Thanks.
.btop{
display:grid;
grid-template-columns:1fr auto;
}
.binptop{
height:25px;
}
.gallplus{
padding:0 14px;
text-align:center;
line-height:25px;
background:gold;
}
<div class='btop'>
<input type='text' class='bintop' id='binptop' maxlength = "54" autocomplete = 'off'>
<div class='gallplus' title='GALERIJA PLUS'>PLUS</div>
</div>