当前位置:网站首页>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
边栏推荐
- 【TA-霜狼_may-《百人计划》】2.1 色彩空间
- Pyramid Scene Parsing Network【PSPNet】论文阅读
- Leetcode:829. Sum of continuous integers
- The combination of applet container technology and IOT
- How to display scrollbars on the right side of the background system and how to solve the problem of double scrollbars
- [TA frost wolf \u may - "hundred people plan"] 2.1 color space
- 409. longest palindrome
- RSN:Learning to Exploit Long-term Relational Dependencies in Knowledge Graphs
- Split(), split(), slice(), can't you tell?
- IPv4和IPv6、局域网和广域网、网关、公网IP和私有IP、IP地址、子网掩码、网段、网络号、主机号、网络地址、主机地址以及ip段/数字-如192.168.0.1/24是什么意思?
猜你喜欢

用小程序的技术优势发展产业互联网
![[ta - Frost Wolf May - 100 people plan] 2.3 Introduction aux fonctions communes](/img/be/325f78dee744138a865c13d2c20475.png)
[ta - Frost Wolf May - 100 people plan] 2.3 Introduction aux fonctions communes

二叉树神级遍历:Morris遍历

Promql select time series

Jeecgboot output log, how to use @slf4j

Cygwin的下载和安装配置

SEM of C language_ Tvariable type

Home online shopping project
![5. [WebGIS practice] software operation - service release and permission management](/img/5d/070e207bd96e60ba1846d644d4fb54.png)
5. [WebGIS practice] software operation - service release and permission management

Error: plug ins declaring extensions or extension points must set the singleton directive to true
随机推荐
【TA-霜狼_may-《百人计划》】1.1 渲染流水线
数据库DDL(Data Definition Language,数据定义语言)知识点
Golang multi graph generation gif
10、Scanner. Next() cannot read spaces /indexof -1
【快捷键】
数据库中COMMENT关键字的使用
LeetCode 31下一个排列、LeetCode 64最小路径和、LeetCode 62不同路径、LeetCode 78子集、LeetCode 33搜索旋转排序数组(修改二分法)
10. 正则表达式匹配
【TA-霜狼_may-《百人计划》】1.4 PC手机图形API介绍
在 C 中声明函数之前调用函数会发生什么?
【TA-霜狼_may-《百人计划》】2.4 传统经验光照模型
[small sample segmentation] interpretation of the paper: prior guided feature enrichment network for fee shot segmentation
318. 最大单词长度乘积
衡量两个向量相似度的方法:余弦相似度、pytorch 求余弦相似度:torch.nn.CosineSimilarity(dim=1, eps=1e-08)
Research on target recognition and tracking based on 3D laser point cloud
【EI会议】2022年第三届纳米材料与纳米技术国际会议(NanoMT 2022)
Use of comment keyword in database
205. 同构字符串
复习专栏之---消息队列
【伸手党福利】JSONObject转String保留空字段