回答編集履歴
3
補足の追加。
test
CHANGED
@@ -38,6 +38,10 @@
|
|
38
38
|
|
39
39
|
|
40
40
|
|
41
|
+
---
|
42
|
+
|
43
|
+
|
44
|
+
|
41
45
|
【position: absolute; の指定で要素が上下左右中央配置になる理由 | WWW WATCH】
|
42
46
|
|
43
47
|
[https://hyper-text.org/archives/2014/08/position_absolute_center_layout.shtml](https://hyper-text.org/archives/2014/08/position_absolute_center_layout.shtml)
|
2
補足の追加。
test
CHANGED
@@ -35,3 +35,11 @@
|
|
35
35
|
}
|
36
36
|
|
37
37
|
```
|
38
|
+
|
39
|
+
|
40
|
+
|
41
|
+
【position: absolute; の指定で要素が上下左右中央配置になる理由 | WWW WATCH】
|
42
|
+
|
43
|
+
[https://hyper-text.org/archives/2014/08/position_absolute_center_layout.shtml](https://hyper-text.org/archives/2014/08/position_absolute_center_layout.shtml)
|
44
|
+
|
45
|
+
|
1
ミスがあったため修正。
test
CHANGED
@@ -30,8 +30,6 @@
|
|
30
30
|
|
31
31
|
left: 50%;
|
32
32
|
|
33
|
-
background-color: red;
|
34
|
-
|
35
33
|
transform: translate( -50%, -50% );
|
36
34
|
|
37
35
|
}
|