gpt4 book ai didi

twitter-bootstrap - Bootstrap网格系统布局2 : 1

转载 作者:行者123 更新时间:2023-12-02 01:21:37 27 4
gpt4 key购买 nike

如何创建具有以下设计的网格

--------------------  -------------------------------
| Content 1 | | |
------ hr --------- | Content 3 |
| Content 2 | | |
--------------------- -------------------------------

我有这段代码,但它会将内容 2 推到内容 3 的下方

<div class="col-md-5 well">
<form class="form-horizontal">
<div class="form-body">
<div class="form-group">
//text
</div>
<div class="form-group">
//text
</div>
</div>
</form>
</div>
<div class="col-md-7 well">
<div style="height: 600px;"></div>
</div>
<hr style=" border: 0;
height: 1px;
background: #333;
background-image: linear-gradient(to right, #ccc, #333, #ccc);">
<div class="well pre-scrollable" style="max-height: 350px !important;">
hello
</div>

注意

Content 1 is the div with form
Content 2 is the div with hello inside
Content 3 is the div with height specified

在互联网上搜索但找不到任何指南..非常感谢您提供的任何帮助。谢谢 :)

最佳答案

试试这个,这应该会给你你正在寻找的结果:

<div class ="row">
<div class = "col-lg-4">
<div class = "col-lg-12">
Content 1
</div>
<hr />
<div class = "col-lg-12">
Content 2
</div>
</div>
<div class = "col-lg-8">
Content 3
</div>
</div>

关于twitter-bootstrap - Bootstrap网格系统布局2 : 1,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39893629/

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