質問編集履歴

1

トップ画像部分の情報追加

2020/08/05 12:43

投稿

sanayaaan
sanayaaan

スコア25

test CHANGED
File without changes
test CHANGED
@@ -7,6 +7,22 @@
7
7
  ![イメージ説明](b592b713dec81e18476e31f6d2d43dfc.png)
8
8
 
9
9
  ```html
10
+
11
+ <div id="top-wrapper">
12
+
13
+ <div class="top-image">
14
+
15
+ <div>
16
+
17
+ <img src="./images/staypageimg/topimage.jpg">
18
+
19
+ </div>
20
+
21
+ </div>
22
+
23
+ </div>
24
+
25
+
10
26
 
11
27
  <div id="sub-navigation">
12
28
 
@@ -30,7 +46,33 @@
30
46
 
31
47
  ```CSS
32
48
 
33
-
49
+ #top-wrapper{
50
+
51
+ padding:0;
52
+
53
+ width: 100%;
54
+
55
+ position: relative;
56
+
57
+ height: 633px;
58
+
59
+ }
60
+
61
+
62
+
63
+ .top-image img{
64
+
65
+ display: flex;
66
+
67
+ justify-content: center;
68
+
69
+ align-items: center;
70
+
71
+ width:100%;
72
+
73
+ }
74
+
75
+
34
76
 
35
77
  #sub-navigation ul li {
36
78