当前位置:网站首页>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
边栏推荐
- MFC窗口滚动条用法
- 6. Z 字形变换
- 165. compare version numbers
- 318. Maximum word length product
- 【TA-霜狼_may-《百人計劃》】2.3 常用函數介紹
- 389. find a difference
- 409. 最长回文串
- The method to measure the similarity of two vectors: cosine similarity, pytorch calculate cosine similarity: torch nn. CosineSimilarity(dim=1, eps=1e-08)
- Feature pyramid networks for object detection
- The difference between MFC for static libraries and MFC for shared libraries
猜你喜欢

【TA-霜狼_may-《百人计划》】2.1 色彩空间
![[deep learning] activation function (sigmoid, etc.), forward propagation, back propagation and gradient optimization; optimizer. zero_ grad(), loss. backward(), optimizer. Function and principle of st](/img/9f/187ca83be1b88630a6c6fbfb0620ed.png)
[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)

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

bootsrap中的栅格系统

Sort linked list (merge sort)

pytorch训练深度学习网络设置cuda指定的GPU可见

IPv4和IPv6、局域网和广域网、网关、公网IP和私有IP、IP地址、子网掩码、网段、网络号、主机号、网络地址、主机地址以及ip段/数字-如192.168.0.1/24是什么意思?

The preorder traversal of leetcode 144 binary tree and the expansion of leetcode 114 binary tree into a linked list

Idea plug-in backup table
随机推荐
208. 实现 Trie (前缀树)
30. 串联所有单词的子串
165. 比较版本号
bootsrap中的栅格系统
8. 字符串转换整数 (atoi)
6. zigzag transformation
4、【WebGIS实战】软件操作篇——数据导入及处理
pytorch训练深度学习网络设置cuda指定的GPU可见
在线公网安备案保姆级教程【伸手党福利】
6. Z 字形变换
165. compare version numbers
【快捷键】
LeetCode 31下一个排列、LeetCode 64最小路径和、LeetCode 62不同路径、LeetCode 78子集、LeetCode 33搜索旋转排序数组(修改二分法)
Valentine's Day is nothing.
【TA-霜狼_may-《百人计划》】1.2.1 向量基础
5、【WebGIS实战】软件操作篇——服务发布及权限管理
Database DDL (data definition language) knowledge points
【TA-霜狼_may-《百人计划》】1.1 渲染流水线
318. Maximum word length product
Gorilla/mux framework (RK boot): RPC error code design