当前位置:网站首页>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>
边栏推荐
- 微服务架构介绍
- Gin introduction practice
- AcWing 345. Cattle station solution (nature and multiplication of Floyd)
- FLIR blackfly s industrial camera: synchronous shooting of multiple cameras through external trigger
- uva 1401 dp+Trie
- ROS learning (25) rviz plugin
- RC振荡器和晶体振荡器简介
- First experience of JSON learning - the third-party jar package realizes bean, list and map to create JSON format
- AcWing 346. Solution to the problem of water splashing festival in the corridor (deduction formula, minimum spanning tree)
- Flir Blackfly S工业相机:颜色校正讲解及配置与代码设置方法
猜你喜欢
Twenty or thirty thousand a leaf? "Yang Mou" behind the explosion of plant consumption
How did partydao turn a tweet into a $200million product Dao in one year
百度飞将BMN时序动作定位框架 | 数据准备与训练指南 (下)
Batch delete data in SQL - set in entity
Shell script quickly counts the number of lines of project code
Errors made in the development of merging the quantity of data in the set according to attributes
永久的摇篮
刨析《C语言》【进阶】付费知识【一】
How can I code for 8 hours without getting tired.
ROS learning (XIX) robot slam function package cartographer
随机推荐
uva 1401 dp+Trie
How can I code for 8 hours without getting tired.
Twenty or thirty thousand a leaf? "Yang Mou" behind the explosion of plant consumption
刨析《C语言》【进阶】付费知识【完结】
将截断字符串或二进制数据
Integrated navigation: product description and interface description of zhonghaida inav2
2022/0524/bookstrap
我如何编码8个小时而不会感到疲倦。
Shortcut keys commonly used in idea
Baidu flying general BMN timing action positioning framework | data preparation and training guide (Part 1)
Date processing tool class dateutils (tool class 1)
sql中批量删除数据---实体中的集合
When grep looks for a process, it ignores the grep process itself
Baidu flying general BMN timing action positioning framework | data preparation and training guide (Part 2)
Image watermarking, scaling and conversion of an input stream
Flir Blackfly S 工业相机 介绍
Mysqlbackup restores specific tables
传感器:土壤湿度传感器(XH-M214)介绍及stm32驱动代码
AcWing 1148. Secret milk transportation problem solution (minimum spanning tree)
STM32F4---PWM输出