回答編集履歴

1

質問が変更されたので追記

2016/12/02 08:21

投稿

Lhankor_Mhy
Lhankor_Mhy

スコア36113

test CHANGED
@@ -107,3 +107,105 @@
107
107
  ```
108
108
 
109
109
  [https://jsfiddle.net/4s0Lem4u/](https://jsfiddle.net/4s0Lem4u/)
110
+
111
+  
112
+
113
+  
114
+
115
+  
116
+
117
+ ##### 質問が変更されたので追記
118
+
119
+ ```CSS
120
+
121
+ #wrapper{
122
+
123
+ width:100%;
124
+
125
+ display: flex;
126
+
127
+ }
128
+
129
+ #center{
130
+
131
+ display: flex;
132
+
133
+ flex-flow: row wrap;
134
+
135
+ justify-content: center;
136
+
137
+ flex-basis:104px;
138
+
139
+ }
140
+
141
+ #left, #right{
142
+
143
+ flex-basis:100px;
144
+
145
+ display: flex;
146
+
147
+ flex-flow: column;
148
+
149
+ justify-content:center;
150
+
151
+ }
152
+
153
+
154
+
155
+ .box, .numbered{
156
+
157
+ width:100px;
158
+
159
+ }
160
+
161
+ .numbered{
162
+
163
+ height:100px;
164
+
165
+ margin:2px;
166
+
167
+ background-color:#c99;
168
+
169
+ }
170
+
171
+ .box{
172
+
173
+ height:150px;
174
+
175
+ background-color:#99c;
176
+
177
+ }
178
+
179
+ @media (min-width: 768px) {
180
+
181
+ #center {
182
+
183
+ flex-basis: 208px;
184
+
185
+ }
186
+
187
+ }
188
+
189
+ @media (min-width: 992px) {
190
+
191
+ #center {
192
+
193
+ flex-basis: 312px;
194
+
195
+ }
196
+
197
+ }
198
+
199
+ @media (min-width: 1200px) {
200
+
201
+ #center {
202
+
203
+ flex-basis: 312px;
204
+
205
+ }
206
+
207
+ }
208
+
209
+ ```
210
+
211
+ [https://jsfiddle.net/4s0Lem4u/1/](https://jsfiddle.net/4s0Lem4u/1/)