当前位置:网站首页>Use grid to realize left, middle and right layout, and the middle content is adaptive
Use grid to realize left, middle and right layout, and the middle content is adaptive
2022-07-26 12:56:00 【songywaa】
grid It is very convenient to realize the layout of left, middle and right , Which one? div Need to adapt , The layout should be placed in the middle
.box{
display:grid;
grid-template-columns: 200px auto 200px;
}
.left{
}
.right{
}
.center{
}
<div class="box">
<div class="left"> I am on the left </div>
<div class="center"> I'm the middle </div>
<div class="right"> I'm on the right </div>
</div>
边栏推荐
- HCIP-9.OSPF的各种拓展
- Azure synapse analytics Performance Optimization Guide (2) -- optimize performance using materialized views (Part 1)
- A super easy-to-use artifact apifox, throw swagger a few streets... (glory Collection Edition)
- LCD笔记(4)分析内核自带的LCD驱动程序
- Detailed explanation of redisson distributed lock process (II)
- Can the Windows version of Oracle be used in Linux?
- The programmed navigation route jumps to the current route (the parameters remain unchanged), and if it is executed multiple times, it will throw a navigationduplicated warning error?
- Sword finger offer 24. reverse the linked list
- Data query where
- 新功能 | 智能开放搜索上线定制词权重模型
猜你喜欢

Removable tablespace

LCD notes (7) LCD driver framework_ Configure clock

食品安全 | 随便果可以”随便“吃吗?

Transformer dominates the world? Depth wise conv has something to say

UE5 官方案例Lyra 全特性详解 7.资源管理

可移动表空间

What is a callback function? Understanding of the word "back"

Code error reporting and problem solving experience II: test error reporting in yolov5

HCIP-9.OSPF的各种拓展

最好的工程师,就是这样被你“逼”走的!
随机推荐
Remote IP debugger (Practical dry goods)
Kubernetes ---- life cycle introduction of PV and PVC
实体映射最强工具类:MapStruct真香
Interview JD T5, was pressed on the ground friction, who knows what I experienced?
Knowledge points of C language documents
Shell变量和引用
After being fined "paid leave" for one month, Google fired him who "loves" AI
Interviewer: how to understand QPS, TPS, RT?
数据库组成存储过程和函数
Data query function
1-6月中国ADAS供应商占比9% 又一家零部件巨头全面布局智驾新赛道
The database consists of stored procedures and functions
Commonly used list Why does isempty() suddenly report null?
Backtracking - 131. Split palindrome string
Azure Synapse Analytics 性能优化指南(2)——使用具体化视图优化性能(上)
LCD笔记(4)分析内核自带的LCD驱动程序
UE5 官方案例Lyra 全特性详解 7.资源管理
酷早报:7月25日Web3加密行业新闻大汇总
论文阅读-MLPD:Multi-Label Pedestrian Detector in Multispectral Domain(海康威视研究院实习项目)
Food safety | can you eat any fruit?