当前位置:网站首页>Word wrap when flex exceeds width
Word wrap when flex exceeds width
2022-07-07 02:04:00 【A diligent code dog】
design sketch
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>flex Wrap over length </title>
<style > .container{
width: 700px; border: solid 1px black; display: flex; flex-wrap: wrap; } .container div{
width: 200px; margin: 10px; height: 100px; background-color: aqua; flex-shrink: 0;/* Remove flex Sub element width averaging problem */ } </style>
</head>
<body>
<div class="container">
<div class="div1"></div>
<div class="div2"></div>
<div class="div3"></div>
<div class="div4"></div>
<div class="div5"></div>
</div>
</body>
</html>
边栏推荐
- 将截断字符串或二进制数据
- JVM 内存模型
- 刨析《C语言》【进阶】付费知识【一】
- Date processing tool class dateutils (tool class 1)
- Basic introduction and use of dvajs
- MySQL's most basic select statement
- 【唯一】的“万字配图“ | 讲透【链式存储结构】是什么?
- Ds-5/rvds4.0 variable initialization error
- XML to map tool class xmlmaputils (tool class V)
- Make DIY welding smoke extractor with lighting
猜你喜欢
Blackfly s usb3 industrial camera: buffer processing
蓝桥杯2022年第十三届省赛真题-积木画
百度飞将BMN时序动作定位框架 | 数据准备与训练指南 (上)
Command injection of cisp-pte
How can I code for 8 hours without getting tired.
@Before, @after, @around, @afterreturning execution sequence
Analyze "C language" [advanced] paid knowledge [i]
刨析《C语言》【进阶】付费知识【一】
[unique] what is the [chain storage structure]?
centos8安装mysql报错:The GPG keys listed for the “MySQL 8.0 Community Server“ repository are already ins
随机推荐
Basic introduction and use of dvajs
[unique] what is the [chain storage structure]?
百度飞将BMN时序动作定位框架 | 数据准备与训练指南 (上)
糊涂工具类(hutool)post请求设置body参数为json数据
Threadlocalutils (tool class IV)
Right mouse button customization
一文带你走进【内存泄漏】
C language [23] classic interview questions [Part 2]
Mysqlbackup restores specific tables
PartyDAO如何在1年内把一篇推文变成了2亿美金的产品DAO
UC伯克利助理教授Jacob Steinhardt预测AI基准性能:AI在数学等领域的进展比预想要快,但鲁棒性基准性能进展较慢
Domestic images of various languages, software and systems. It is enough to collect this warehouse: Thanks mirror
Hutool post requests to set the body parameter to JSON data
String to date object
一片葉子兩三萬?植物消費爆火背後的“陽謀”
Correct use of BigDecimal
传感器:土壤湿度传感器(XH-M214)介绍及stm32驱动代码
Centros 8 installation MySQL Error: The gpg Keys listed for the "MySQL 8.0 Community Server" repository are already ins
Box stretch and pull (left-right mode)
ROS学习(24)plugin插件