当前位置:网站首页>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
边栏推荐
- 在 C 中声明函数之前调用函数会发生什么?
- 4. [WebGIS practice] software operation chapter - data import and processing
- 在线公网安备案保姆级教程【伸手党福利】
- jeecgboot输出日志,@Slf4j的使用方法
- Explain spark operation mode in detail (local+standalone+yarn)
- [party benefits] jsonobject to string, leave blank
- RSN:Learning to Exploit Long-term Relational Dependencies in Knowledge Graphs
- 【EI检索】2022年第六届材料工程与先进制造技术国际会议(MEAMT 2022)重要信息会议网址:www.meamt.org会议时间:2022年9月23-25日召开地点:中国南京截稿时间:2
- Valid brackets (force deduction 20)
- 318. 最大单词长度乘积
猜你喜欢

pytorch nn. AdaptiveAvgPool2d(1)

衡量两个向量相似度的方法:余弦相似度、pytorch 求余弦相似度:torch.nn.CosineSimilarity(dim=1, eps=1e-08)

Bilinear upsampling and f.upsample in pytorch_ bilinear

【TA-霜狼_may-《百人计划》】2.4 传统经验光照模型

Feature Pyramid Networks for Object Detection论文理解

Edge drawing: a combined real-time edge and segment detector

Its appearance makes competitors tremble. Interpretation of Sony vision-s 02 products

LeetCode 144二叉树的前序遍历、LeetCode 114二叉树展开为链表

快速筛选打卡时间日期等数据:EXCEL筛选查找某一时间点是否在某一时间段内

【TA-霜狼_may-《百人计划》】1.4 PC手机图形API介绍
随机推荐
Edlines: a real time line segment detector with a false detection control
[deep learning] activation function (sigmoid, etc.), forward propagation, back propagation and gradient optimization; optimizer. zero_ grad(), loss. backward(), optimizer. Function and principle of st
使用selenium自动化测试工具爬取高考相关院校专业招生分数线及排名情况
在线公网安备案保姆级教程【伸手党福利】
Review column - message queue
【TA-霜狼_may-《百人计划》】1.4 PC手机图形API介绍
二叉树神级遍历:Morris遍历
FCN全卷積網絡理解及代碼實現(來自pytorch官方實現)
LeetCode 128最长连续序列(哈希set)
数据库中COMMENT关键字的使用
168. excel table column name
[TA frost wolf _may - "hundred people plan"] 1.4 introduction to PC mobile phone graphics API
Leetcode: offer 59 - I. maximum value of sliding window
Leetcode:829. 连续整数求和
【伸手党福利】开发人员重装系统顺序
Pyramid Scene Parsing Network【PSPNet】论文阅读
[TA frost wolf \u may- hundred people plan] 1.3 secret of texture
[TA frost wolf \u may - "hundred people plan"] 2.1 color space
Blueprism registration, download and install -rpa Chapter 1
Unexpected token o in JSON at position 1 ,JSON解析问题