简体   繁体   中英

About Bootstrap column minute adjustment width

Following the title, consider this picture

屏幕截图呈现为html

I hope the right column could close to left area

<div class="modal-body">
    <div class="row">
        <div class="col-md-1">
        </div>  
        <div class="col-md-2">
            platform Name
        </div>
        <div class="col-md-3">
            <select class="selectpicker" data-style="btn-default" data-width="auto" >
            <option>123</option>
            <option>456</option>
            </select>
        </div>
    </div>

http://i.stack.imgur.com/IfYAj.png

正如Daedalus所建议的那样,如果您使用内联水平表单类,则可以调整表单元素的填充/边距以适合您的需求。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM