当前位置:网站首页>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
边栏推荐
- 【伸手党福利】JSONObject转String保留空字段
- [party benefits] jsonobject to string, leave blank
- 复习专栏之---消息队列
- Explain spark operation mode in detail (local+standalone+yarn)
- Split(), split(), slice(), can't you tell?
- The combination of applet container technology and IOT
- 数据库DDL(Data Definition Language,数据定义语言)知识点
- Feature Pyramid Networks for Object Detection论文理解
- 72. 编辑距离
- [deep learning] activation function (sigmoid, etc.), forward propagation, back propagation and gradient optimization; optimizer. zero_ grad(), loss. backward(), optimizer. Function and principle of st
猜你喜欢

Take you through a circuit board, from design to production (dry goods)

Feature Pyramid Networks for Object Detection论文理解

FCN全卷积网络理解及代码实现(来自pytorch官方实现)

Ultimate dolls 2.0 | encapsulation of cloud native delivery
![Online public network security case nanny level tutorial [reaching out for Party welfare]](/img/66/d9c848a7888e547b7cb28d84aabc24.png)
Online public network security case nanny level tutorial [reaching out for Party welfare]

Develop industrial Internet with the technical advantages of small programs

MFC窗口滚动条用法

复习专栏之---消息队列

5、【WebGIS实战】软件操作篇——服务发布及权限管理
![[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
随机推荐
pytorch训练深度学习网络设置cuda指定的GPU可见
You cannot right-click F12 to view the source code solution on the web page
bootsrap中的栅格系统
【TA-霜狼_may-《百人计划》】2.1 色彩空间
【EI会议】2022年第三届纳米材料与纳米技术国际会议(NanoMT 2022)
242. 有效的字母异位词
241. 为运算表达式设计优先级
205. isomorphic string
208. 实现 Trie (前缀树)
72. 编辑距离
在 C 中声明函数之前调用函数会发生什么?
10. 正则表达式匹配
在线公网安备案保姆级教程【伸手党福利】
Feature pyramid networks for object detection
30. Concatenate substrings of all words
FCN全卷積網絡理解及代碼實現(來自pytorch官方實現)
Unexpected token o in JSON at position 1 ,JSON解析问题
72. edit distance
205. 同构字符串
torch.histc