回答編集履歴
2
修正
test
CHANGED
@@ -1 +1,7 @@
|
|
1
|
-
|
1
|
+
こちら、参考になりそうです。
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
参考URL:
|
6
|
+
|
7
|
+
[https://stackoverflow.com/questions/20482663/transparent-text-with-text-shadow-in-ie](https://stackoverflow.com/questions/20482663/transparent-text-with-text-shadow-in-ie)
|
1
(間違えて投稿したので削除しました。)
test
CHANGED
@@ -1,25 +1 @@
|
|
1
|
-
`text-align: center;`ではなく、`justify-content: center;`を使ってください。
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
```CSS
|
6
|
-
|
7
|
-
li a {
|
8
|
-
|
9
|
-
|
1
|
+
(間違えて投稿したので削除しました。)
|
10
|
-
|
11
|
-
align-items: center; /* 上下の中央配置 */
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
/* text-align: center; */ /* テキストの中央寄せ */
|
16
|
-
|
17
|
-
justify-content: center; /* 左右の中央配置 */
|
18
|
-
|
19
|
-
}
|
20
|
-
|
21
|
-
```
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
`align-items: center;`と`justify-content: center;`はセットで使うことも多いのでまとめて覚えるとよさそうです。
|