回答編集履歴
1
質問が変更されたので追記
answer
CHANGED
@@ -52,4 +52,55 @@
|
|
52
52
|
background-color:#99c;
|
53
53
|
}
|
54
54
|
```
|
55
|
-
[https://jsfiddle.net/4s0Lem4u/](https://jsfiddle.net/4s0Lem4u/)
|
55
|
+
[https://jsfiddle.net/4s0Lem4u/](https://jsfiddle.net/4s0Lem4u/)
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
##### 質問が変更されたので追記
|
60
|
+
```CSS
|
61
|
+
#wrapper{
|
62
|
+
width:100%;
|
63
|
+
display: flex;
|
64
|
+
}
|
65
|
+
#center{
|
66
|
+
display: flex;
|
67
|
+
flex-flow: row wrap;
|
68
|
+
justify-content: center;
|
69
|
+
flex-basis:104px;
|
70
|
+
}
|
71
|
+
#left, #right{
|
72
|
+
flex-basis:100px;
|
73
|
+
display: flex;
|
74
|
+
flex-flow: column;
|
75
|
+
justify-content:center;
|
76
|
+
}
|
77
|
+
|
78
|
+
.box, .numbered{
|
79
|
+
width:100px;
|
80
|
+
}
|
81
|
+
.numbered{
|
82
|
+
height:100px;
|
83
|
+
margin:2px;
|
84
|
+
background-color:#c99;
|
85
|
+
}
|
86
|
+
.box{
|
87
|
+
height:150px;
|
88
|
+
background-color:#99c;
|
89
|
+
}
|
90
|
+
@media (min-width: 768px) {
|
91
|
+
#center {
|
92
|
+
flex-basis: 208px;
|
93
|
+
}
|
94
|
+
}
|
95
|
+
@media (min-width: 992px) {
|
96
|
+
#center {
|
97
|
+
flex-basis: 312px;
|
98
|
+
}
|
99
|
+
}
|
100
|
+
@media (min-width: 1200px) {
|
101
|
+
#center {
|
102
|
+
flex-basis: 312px;
|
103
|
+
}
|
104
|
+
}
|
105
|
+
```
|
106
|
+
[https://jsfiddle.net/4s0Lem4u/1/](https://jsfiddle.net/4s0Lem4u/1/)
|