gpt4 book ai didi

css - Bootstrap中如何划分网格系统

转载 作者:行者123 更新时间:2023-11-28 01:52:24 24 4
gpt4 key购买 nike

enter image description here enter image description here

我想将网格系统划分为中屏 2 个和小屏 1 个如图所示

最佳答案

尝试以下代码段。文档: https://getbootstrap.com/docs/4.0/layout/grid/

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">

<div class="container">
<div class="row">
<div class="col-md-6">
<div class="form-group">
<select class="form-control" id="sel1">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
</select>
</div>
</div>
<div class="col-md-6">
<input type="number" class="form-control" placeholder="Asset number">

</div>
</div>
</div>

关于css - Bootstrap中如何划分网格系统,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49846211/

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