@@ -19,136 +19,148 @@ <h1> Flexbox.</h1>
19
19
< p > Though you < em > could</ em > create entire page layouts with flexbox, it's most suitable for working with interface elements and smaller components.</ p >
20
20
< p > < a href ="https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout "> Mozillas guide on Flexbox Layouts</ a > < br >
21
21
< a href ="https://demos.scotch.io/visual-guide-to-css3-flexbox-flexbox-playground/demos/ "> A Flexbox playground.</ a > </ p >
22
- </ div >
23
- < div class ="container-a__content-c box ">
24
- < p > Hi</ p >
25
- </ div >
26
22
</ div >
23
+ < div class ="container-a__content-c box ">
24
+ < p > Hi</ p >
25
+ </ div >
26
+ </ div >
27
27
28
28
29
- < div class ="container-b flexible ">
30
- < div class ="container-b__content-a box ">
31
- < h1 > Flexbox Container Properties.</ h1 >
32
- </ div >
33
- < div class ="container-b__content-b box ">
34
- < code >
35
- < ul >
36
- < li > display: flexbox;</ li >
37
- < li > flex-direction: row-reverse;</ li >
38
- < li > justify-content: space-between;</ li >
39
- < li > align-items: center;</ li >
40
- < li > flex-wrap: wrap;</ li >
41
- < li class ="comment "> /* Note: align-content has no effect when there is only one line of flex items */</ li >
42
- < li > align-content: space-between;</ li >
43
- < li class ="comment "> < em > /* (Shorthand) flex-flow: flex-direction flex-wrap; */</ em > </ li >
44
- < li > flex-flow: row wrap;</ li >
45
- < li class ="comment "> < em > /* (Shorthand) place-content: align-content justify-content; */</ em > </ li >
46
- < li > place-content: end space-between;</ li >
47
- </ ul >
48
- </ code >
49
- </ div >
50
- < div class ="container-b__content-c box ">
51
- < p > Hi</ p >
52
- </ div >
29
+ < div class ="container-b flexible ">
30
+ < div class ="container-b__content-a box ">
31
+ < h1 > Flexbox Container Properties.</ h1 >
32
+ </ div >
33
+ < div class ="container-b__content-b box ">
34
+ < code >
35
+ < ul >
36
+ < li > display: flexbox;</ li >
37
+ < li > flex-direction: row-reverse;</ li >
38
+ < li > justify-content: space-between;</ li >
39
+ < li > align-items: center;</ li >
40
+ < li > flex-wrap: wrap;</ li >
41
+ < li class ="comment "> /* Note: align-content has no effect when there is only one line of flex items */</ li >
42
+ < li > align-content: space-between;</ li >
43
+ < li class ="comment "> < em > /* (Shorthand) flex-flow: flex-direction flex-wrap; */</ em > </ li >
44
+ < li > flex-flow: row wrap;</ li >
45
+ < li class ="comment "> < em > /* (Shorthand) place-content: align-content justify-content; */</ em > </ li >
46
+ < li > place-content: end space-between;</ li >
47
+ </ ul >
48
+ </ code >
49
+ </ div >
50
+ < div class ="container-b__content-c box ">
51
+ < p > Hi</ p >
53
52
</ div >
53
+ </ div >
54
54
55
55
56
- < div class ="container-c flexible ">
57
- < div class ="container-c__content-a box ">
58
- < h1 > Flexbox Items Properties.</ h1 >
59
- </ div >
60
- < div class ="container-c__content-b box ">
61
- < code >
62
- < ul >
63
- < li > order: 1;</ li >
64
- < li > flex-grow: 1;</ li >
65
- < li > flex-shrink: 1;</ li >
66
- < li > flex-basis: 200px;</ li >
67
- < li > align-self: center;</ li >
68
- < li class ="comment "> < em > /* (Shorthand) flex: flex-grow flex-shrink flex-basis; */</ em > </ li >
69
- < li > flex: 2 0 0;</ li >
70
- </ ul >
71
- </ code >
72
- </ div >
73
- < div class ="container-c__content-c box ">
74
- < p > Hi</ p >
75
- </ div >
56
+ < div class ="container-c flexible ">
57
+ < div class ="container-c__content-a box ">
58
+ < h1 > Flexbox Items Properties.</ h1 >
76
59
</ div >
60
+ < div class ="container-c__content-b box ">
61
+ < code >
62
+ < ul >
63
+ < li > order: 1;</ li >
64
+ < li > flex-grow: 1;</ li >
65
+ < li > flex-shrink: 1;</ li >
66
+ < li > flex-basis: 200px;</ li >
67
+ < li > align-self: center;</ li >
68
+ < li class ="comment "> < em > /* (Shorthand) flex: flex-grow flex-shrink flex-basis; */</ em > </ li >
69
+ < li > flex: 2 0 0;</ li >
70
+ </ ul >
71
+ </ code >
72
+ </ div >
73
+ < div class ="container-c__content-c box ">
74
+ < p > Hi</ p >
75
+ </ div >
76
+ </ div >
77
77
78
- < div class ="container-d flexible ">
79
- < div class ="container-d__content-a box ">
80
- < p > A</ p >
81
- </ div >
82
- < div class ="container-d__content-b box ">
83
- < p > B</ p >
84
- </ div >
85
- < div class ="container-d__content-c box ">
86
- < p > C</ p >
87
- </ div >
78
+ < div class ="container-d flexible ">
79
+ < div class ="container-d__content-a box ">
80
+ < p > A</ p >
81
+ </ div >
82
+ < div class ="container-d__content-b box ">
83
+ < p > B</ p >
88
84
</ div >
85
+ < div class ="container-d__content-c box ">
86
+ < p > C</ p >
87
+ </ div >
88
+ </ div >
89
89
90
- < div class ="container-e fixed ">
91
- < div class ="container-e__content-a box ">
92
- < p > A</ p >
93
- </ div >
94
- < div class ="container-e__content-b box ">
95
- < p > B</ p >
96
- </ div >
97
- < div class ="container-e__content-c box ">
98
- < p > C</ p >
99
- </ div >
90
+ < div class ="container-e flexible fixed-height ">
91
+ < div class ="container-e__content-a box ">
92
+ < p > A</ p >
93
+ </ div >
94
+ < div class ="container-e__content-b box ">
95
+ < p > B</ p >
96
+ </ div >
97
+ < div class ="container-e__content-c box ">
98
+ < p > C</ p >
100
99
</ div >
100
+ </ div >
101
101
102
- < div class ="container-f fixed ">
103
- < div class ="container-f__content-a box ">
104
- < p > A</ p >
105
- </ div >
106
- < div class ="container-f__content-b box ">
107
- < p > B</ p >
108
- </ div >
109
- < div class ="container-f__content-c box ">
110
- < p > C</ p >
111
- </ div >
102
+ < div class ="container-f flexible fixed-height ">
103
+ < div class ="container-f__content-a box ">
104
+ < p > A</ p >
112
105
</ div >
106
+ < div class ="container-f__content-b box ">
107
+ < p > B</ p >
108
+ </ div >
109
+ < div class ="container-f__content-c box ">
110
+ < p > C</ p >
111
+ </ div >
112
+ </ div >
113
113
114
- < div class ="container-g flexible ">
115
- < div class ="container-g__content-a box ">
116
- < p > A</ p >
117
- </ div >
118
- < div class ="container-g__content-b box ">
119
- < p > B</ p >
120
- </ div >
121
- < div class ="container-g__content-c box ">
122
- < p > C</ p >
123
- </ div >
124
- < div class ="container-g__content-d box ">
125
- < p > D</ p >
126
- </ div >
127
- < div class ="container-g__content-e box ">
128
- < p > E</ p >
129
- </ div >
114
+ < div class ="container-g flexible ">
115
+ < div class ="container-g__content-a box ">
116
+ < p > A</ p >
117
+ </ div >
118
+ < div class ="container-g__content-b box ">
119
+ < p > B</ p >
130
120
</ div >
121
+ < div class ="container-g__content-c box ">
122
+ < p > C</ p >
123
+ </ div >
124
+ < div class ="container-g__content-d box ">
125
+ < p > D</ p >
126
+ </ div >
127
+ < div class ="container-g__content-e box ">
128
+ < p > E</ p >
129
+ </ div >
130
+ </ div >
131
131
132
- < div class ="container-h fixed ">
133
- < div class ="container-h__content-a box ">
134
- < p > A</ p >
135
- </ div >
136
- < div class ="container-h__content-b box ">
137
- < p > B</ p >
138
- </ div >
139
- < div class ="container-h__content-c box ">
140
- < p > C</ p >
141
- </ div >
142
- < div class ="container-h__content-c box ">
143
- < p > C</ p >
144
- </ div >
145
- < div class ="container-h__content-c box ">
146
- < p > C</ p >
147
- </ div >
148
- < div class ="container-h__content-c box ">
149
- < p > C</ p >
150
- </ div >
132
+ < div class ="container-h flexible ">
133
+ < div class ="container-h__content-a box ">
134
+ < p > A</ p >
135
+ </ div >
136
+ < div class ="container-h__content-b box ">
137
+ < p > B</ p >
138
+ </ div >
139
+ < div class ="container-h__content-c box ">
140
+ < p > C</ p >
141
+ </ div >
142
+ < div class ="container-h__content-c box ">
143
+ < p > C</ p >
144
+ </ div >
145
+ < div class ="container-h__content-c box ">
146
+ < p > C</ p >
147
+ </ div >
148
+ < div class ="container-h__content-c box ">
149
+ < p > C</ p >
150
+ </ div >
151
+ < div class ="container-h__content-c box ">
152
+ < p > C</ p >
153
+ </ div >
154
+ < div class ="container-h__content-c box ">
155
+ < p > C</ p >
156
+ </ div >
157
+ < div class ="container-h__content-c box ">
158
+ < p > C</ p >
159
+ </ div >
160
+ < div class ="container-h__content-c box ">
161
+ < p > C</ p >
151
162
</ div >
163
+ </ div >
152
164
153
- </ body >
154
- </ html >
165
+ </ body >
166
+ </ html >
0 commit comments