[英]How to remove the gap inside bootstrap input element?
在這個輸入組中,你可以看到輸入字段中有不必要的間隙,我想擺脫它
正如你在上面看到的,這條黑線是我的號碼和鏈接按鈕之間的距離。我該如何刪除它?
.resetToDef{ display: block; width:25.8%; max-width: 195.1px; border-radius: 4px; border: 1px solid #FF7921; } .resetToDef a{ font-size:12px; color:#FF7921; border: none; text-decoration-line: underline } .resetToDef input{ display:inline-block; width:57px; border:none; }
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"> <div class="resetToDef input-group"> <input type="number" class="form-control" placeholder="30"> <a href="javascript:void(0)" class="float-right btn">Back to default</a> </div>
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.