gpt4 book ai didi

html - Bootstrap 3 列和输入字段

转载 作者:行者123 更新时间:2023-11-28 02:02:38 26 4
gpt4 key购买 nike

如何拉伸(stretch)输入文本以适应父引导列的所有宽度?

<div class="col-md-4 col-md-offset-5">
<span class="pull-right">
<div class="row buttons-block">
<div class="col-md-8">
<input type="text" class="form-control name-pull-image">
</div>
<div class="col-md-4">
<button type="button" class="btn btn-block btn-primary pull-image-button">Pull Firmware</button>
</div>
</div>
</span>
</div>

DevTools screen

最佳答案

试试这个:

<div class="col-md-12 col-md-offset-5">
<span class="pull-right">
<div class="row buttons-block">
<div class="col-md-10">
<input type="text" class="form-control name-pull-image">
</div>
<div class="col-md-2">
<button type="button" class="btn btn-block btn-primary pull-image-button">Pull Firmware</button>
</div>
</div>
</span>
</div>

关于html - Bootstrap 3 列和输入字段,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49224249/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com