- 정보공유
[퍼블리싱] 부트스트랩 form control input box
form control input box 를 모바일에서 100% 로 하지 않고 한줄로 나오도록 처리.
form control input box 를 한줄로 나오도록 처리.
.wetoz .form-control.form-control-clear {float:none}
.wetoz .form-control.fixed-inline {display:inline-block;width:auto}
<div class="form-inline">
<div class="input-group">
<input type="number" name="a" id="a" value="" class="form-control form-control-clear fixed-inline" maxlength="6" placeholder="YYMMDD" style="width:100px;" />
-
<input type="number" name="b" id="b" value="" class="form-control form-control-clear fixed-inline" maxlength="1" style="width:50px;" /> ******
</div>
</div>