当前位置:网站首页>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
边栏推荐
- Idea plug-in backup table
- [TA frost wolf \u may- hundred people plan] 2.4 traditional empirical lighting model
- 【TA-霜狼_may-《百人计划》】1.2.1 向量基础
- The difference between MFC for static libraries and MFC for shared libraries
- Test function in pychram
- [ta - Frost Wolf May - 100 people plan] 2.3 Introduction aux fonctions communes
- Leetcode 31 next spread, leetcode 64 minimum path sum, leetcode 62 different paths, leetcode 78 subset, leetcode 33 search rotation sort array (modify dichotomy)
- 72. edit distance
- Pathmeasure implements loading animation
- Pytorch training deep learning network settings CUDA specified GPU visible
猜你喜欢

The method to measure the similarity of two vectors: cosine similarity, pytorch calculate cosine similarity: torch nn. CosineSimilarity(dim=1, eps=1e-08)

【TA-霜狼_may-《百人计划》】1.4 PC手机图形API介绍

Access denied for user ‘ODBC‘@‘localhost‘ (using password: NO)

还在浪费脑细胞自学吗,这份面试笔记绝对是C站天花板

Feature pyramid networks for object detection

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

AfxMessageBox和MessageBox的用法

C语言的sem_t变量类型

bootsrap中的栅格系统

IPv4 and IPv6, LAN and WAN, gateway, public IP and private IP, IP address, subnet mask, network segment, network number, host number, network address, host address, and IP segment / number - what does
随机推荐
Appium自动化测试基础--补充:C/S架构和B/S架构说明
深度学习中的随机种子torch.manual_seed(number)、torch.cuda.manual_seed(number)
168. excel table column name
208. implement trie (prefix tree)
[ta - Frost Wolf May - 100 people plan] 2.3 Introduction aux fonctions communes
10、Scanner. Next() cannot read spaces /indexof -1
242. 有效的字母异位词
【TA-霜狼_may-《百人计划》】1.2.1 向量基础
241. 为运算表达式设计优先级
Leetcode:829. 连续整数求和
Processing of menu buttons on the left and contents on the right of the background system page, and double scrolling appears on the background system page
【EI会议】2022年第三届纳米材料与纳米技术国际会议(NanoMT 2022)
6. zigzag transformation
208. 实现 Trie (前缀树)
Download and installation configuration of cygwin
数据库DDL(Data Definition Language,数据定义语言)知识点
SEM of C language_ Tvariable type
Its appearance makes competitors tremble. Interpretation of Sony vision-s 02 products
衡量两个向量相似度的方法:余弦相似度、pytorch 求余弦相似度:torch.nn.CosineSimilarity(dim=1, eps=1e-08)
Appium automation test foundation -- supplement: c/s architecture and b/s architecture description