上传文件至 flex布局
This commit is contained in:
20
flex布局/contain1.css
Normal file
20
flex布局/contain1.css
Normal file
@@ -0,0 +1,20 @@
|
||||
.container1{
|
||||
width: 400px;
|
||||
height: 400px;
|
||||
background-color: aqua;
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
/*
|
||||
等分每个内部盒子的间距
|
||||
*/
|
||||
flex-wrap:wrap;
|
||||
/* 实现多行显示 */
|
||||
align-content: space-around;
|
||||
/* 均匀分布项目 */
|
||||
|
||||
}
|
||||
.inter{
|
||||
width:120px;
|
||||
height: 120px;
|
||||
background-color: blue;
|
||||
}
|
Reference in New Issue
Block a user