-
Notifications
You must be signed in to change notification settings - Fork 0
/
flex.css
71 lines (64 loc) · 1.04 KB
/
flex.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
.el--1{
background-color: blueviolet;
}
.el--2{
background-color: orangered;
}
.el--3{
background-color: green;
height: 130px;
}
.el--4{
background-color: goldenrod;
}
.el--5{
background-color: steelblue;
}
.el--6{
background-color: yellow;
}
.el--7{
background-color: crimson;
}
.el--8{
background-color: palevioletred;
}
.container{
/* width: 50%; */
font-family: sans-serif;
background-color: #ddd;
font-size: 32px;
margin: 40px;
height: 900px;
/* FlexBox */
display: flex;
/* flex-direction: column; */
justify-content:flex-start;
/* flex-start
flex-end
center
space-between
space-around
space-evenly */
align-items:center;
/* stretch
flex-start
flex-end
center
baseline */
}
.el{
flex-basis: 200px;
/* width: 200px; */
flex-grow: 1;
}
.el--6{
order: 1;
align-self:stretch ;
/* flex: flex-shrink flex-grow flex-basis; */
flex: 0 1 300px;
}
.el--5{
/* flex-grow: 1; */
order:-2;
}