回答編集履歴
1
追記
answer
CHANGED
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
```css
|
|
12
12
|
.parent{
|
|
13
13
|
display: flex;
|
|
14
|
+
justify-content: center;/* 水平方向 */
|
|
14
|
-
align-items: center;
|
|
15
|
+
align-items: center;/* 垂直方向 */
|
|
15
16
|
}
|
|
16
17
|
.child{
|
|
17
18
|
width: 200px;
|