回答編集履歴

2

css変更

2021/04/22 14:14

投稿

nishinoya_eng
nishinoya_eng

スコア45

test CHANGED
@@ -3,6 +3,24 @@
3
3
 
4
4
 
5
5
  ```css
6
+
7
+ div.fv_img {
8
+
9
+ width: 100vw;
10
+
11
+ height: 90vh;
12
+
13
+ background-color: #333;
14
+
15
+ display: flex;
16
+
17
+ justify-content: center;
18
+
19
+ align-items: center;
20
+
21
+ }
22
+
23
+
6
24
 
7
25
  div.fv h2 {
8
26
 
@@ -12,7 +30,7 @@
12
30
 
13
31
  border: 2px solid white;
14
32
 
15
- padding: 34px 42px;
33
+ padding: 34px 80px;
16
34
 
17
35
  text-align: center;
18
36
 

1

参考リンク追加

2021/04/22 14:14

投稿

nishinoya_eng
nishinoya_eng

スコア45

test CHANGED
@@ -39,3 +39,9 @@
39
39
 
40
40
 
41
41
  参考にして下さい。
42
+
43
+
44
+
45
+ よろしければこちらもご確認下さい。
46
+
47
+ [参考リンク](https://www.granfairs.com/blog/staff/centering-by-css)