当前位置:网站首页>Grid system in bootstrap
Grid system in bootstrap
2022-07-01 03:45:00 【Huanggang】
bootsrap Grid system in
Bootstrap A set of responsive 、 Mobile preferred streaming grid system , Along with the screen or the viewport (viewport) Increase in size , The system will automatically divide it into the most 12 Column .
It's on it bootsrap The explanation on the official website . The official website explains a variety of grid layouts , But it's not clear
Now I want to make such a layout

Very simple layout , I feel that the official website doesn't explain how to realize , Read the rookie tutorial , I've figured it out
bootsrap There are a total of 12 grid , This lattice is horizontal , It has nothing to do with the vertical
The idea of realization :
- The layout above A and B Occupy the left 3 grid ( Or column ), In the middle of the E Occupy 6 grid ,C and D On the right 3 grid
- A and B Put it in the same class by row Of div in , meanwhile , Horizontally, you should support this row, in other words A and B Each occupies the sub layout 12 grid
- C and D Same as AB
- According to the content of the page , Adjust the height of each sub layout
The code is as follows :
<div class="col-lg-3">
<div class="row">
<div class="col-lg-12">
<div class="panel panel-default">
<div class="panel-heading">A</div>
<div class="panel-body">
<div id="m2" style="width: 100%;height:300px;"></div>
</div>
</div>
</div>
<div class="col-lg-12">
<div class="panel panel-default">
<div class="panel-heading">B</div>
<div class="panel-body">
<div id="m1" style="width: 100%;height:300px;"></div>
</div>
</div>
</div>
</div>
</div>
<div class="col-lg-6">
<div class="panel panel-default">
<div class="panel-heading">E</div>
<div class="panel-body">
<div id="m3" style="width: 100%;height:692px;overflow: hidden;margin:0"></div>
</div>
</div>
</div>
<div class="col-lg-3">
<div class="row">
<div class="col-lg-12">
<div class="panel panel-default">
<div class="panel-heading">SOC(%)C</div>
<div class="panel-body">
<div id="m4" style="width: 100%;height:300px;"></div>
</div>
</div>
</div>
<div class="col-lg-12">
<div class="panel panel-default">
<div class="panel-heading">D</div>
<div class="panel-body">
<div id="m5" style="width: 100%;height:300px;"></div>
</div>
</div>
</div>
</div>
</div>
After understanding the layout , Other grid layouts should be possible
边栏推荐
- Are you still wasting brain cells for self-study? This interview note is definitely the ceiling of station C
- 10、Scanner. Next() cannot read spaces /indexof -1
- [small sample segmentation] interpretation of the paper: prior guided feature enrichment network for fee shot segmentation
- Edge drawing: a combined real-time edge and segment detector
- torch.histc
- 【TA-霜狼_may-《百人计划》】2.3 常用函数介绍
- 166. 分数到小数
- How to display scrollbars on the right side of the background system and how to solve the problem of double scrollbars
- Future of NTF and trends in 2022
- Explain spark operation mode in detail (local+standalone+yarn)
猜你喜欢

4、【WebGIS实战】软件操作篇——数据导入及处理

【TA-霜狼_may-《百人计划》】1.2.2 矩阵计算
![[TA frost wolf \u may- hundred people plan] 1.3 secret of texture](/img/dc/ce2819258632cdcf2e130a4c05600e.png)
[TA frost wolf \u may- hundred people plan] 1.3 secret of texture

访问阿里云存储的图片URL实现在网页直接预览略缩图而不直接下载

Appium automation test foundation -- supplement: c/s architecture and b/s architecture description

RSN:Learning to Exploit Long-term Relational Dependencies in Knowledge Graphs

后台系统右边内容如何出现滚动条和解决双滚动条的问题

Sort linked list (merge sort)

【TA-霜狼_may-《百人计划》】2.1 色彩空间

快速筛选打卡时间日期等数据:EXCEL筛选查找某一时间点是否在某一时间段内
随机推荐
Leetcode:829. 连续整数求和
[EI search] important information conference of the 6th International Conference on materials engineering and advanced manufacturing technology (meamt 2022) in 2022 website: www.meamt Org meeting time
[TA frost wolf \u may- hundred people plan] 2.4 traditional empirical lighting model
Appium自动化测试基础 — APPium基本原理
Future of NTF and trends in 2022
[TA frost wolf \u may- hundred people plan] 1.3 secret of texture
10. regular expression matching
二叉树神级遍历:Morris遍历
用小程序的技术优势发展产业互联网
242. 有效的字母异位词
[TA frost wolf _may - "hundred people plan"] 1.4 introduction to PC mobile phone graphics API
[TA frost wolf \u may - "hundred people plan"] 2.1 color space
衡量两个向量相似度的方法:余弦相似度、pytorch 求余弦相似度:torch.nn.CosineSimilarity(dim=1, eps=1e-08)
Are you still wasting brain cells for self-study? This interview note is definitely the ceiling of station C
10、Scanner. Next() cannot read spaces /indexof -1
访问阿里云存储的图片URL实现在网页直接预览略缩图而不直接下载
166. 分数到小数
The difference between MFC for static libraries and MFC for shared libraries
165. 比较版本号
409. longest palindrome