上传文件至 flex布局
This commit is contained in:
28
flex布局/container5.css
Normal file
28
flex布局/container5.css
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
.container4{
|
||||||
|
width: 400px;
|
||||||
|
height: 400px;
|
||||||
|
background-color: aqua;
|
||||||
|
display:flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
.inter{
|
||||||
|
width: 120px;
|
||||||
|
height: 120px;
|
||||||
|
background-color: blue;
|
||||||
|
}
|
||||||
|
.cen{
|
||||||
|
width:120px;
|
||||||
|
height: 120px;
|
||||||
|
align-self: center;
|
||||||
|
background-color: blue;
|
||||||
|
}
|
||||||
|
.first{
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
.second{
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
19
flex布局/container6.css
Normal file
19
flex布局/container6.css
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
.container6{
|
||||||
|
width: 300px;
|
||||||
|
height: 300px;
|
||||||
|
display: flex;
|
||||||
|
background-color: aqua;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
.inter{
|
||||||
|
height: 80px;
|
||||||
|
width: 80px;
|
||||||
|
background-color: blue;
|
||||||
|
|
||||||
|
}
|
||||||
|
.first,.second,.three{
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: space-between;
|
||||||
|
|
||||||
|
}
|
Reference in New Issue
Block a user