質問編集履歴

1

コードを追加

2019/10/31 11:48

投稿

sheepshonn
sheepshonn

スコア16

test CHANGED
File without changes
test CHANGED
@@ -9,3 +9,231 @@
9
9
  Google ChromeのComputedではheightが798pxであるのに対して、
10
10
 
11
11
  出力では添付画像のように750pxになっているのはどうしてでしょうか?
12
+
13
+
14
+
15
+ ```lang-HTML
16
+
17
+ @charset "UTF-8";
18
+
19
+ /* CSS Document */
20
+
21
+
22
+
23
+ body{
24
+
25
+ height:100%;
26
+
27
+ margin: 0;
28
+
29
+ padding:0;
30
+
31
+ font-family: "Noto Sans JP", sans-serif;
32
+
33
+
34
+
35
+
36
+
37
+ }
38
+
39
+ .header {
40
+
41
+ background: url(https://s3-ap-northeast-1.amazonaws.com/flower-production-assets/assets/web/home/bg_header_pink-4704d42ed44908fb061e80afc515a93ab2fcbfd605c2580de486a4d980b2115a.jpg);
42
+
43
+ background-size: cover;
44
+
45
+ background-position: center;
46
+
47
+ background-repeat: no-repeat;
48
+
49
+ height: 100vh;
50
+
51
+ min-height: 660px;
52
+
53
+ text-align: center;
54
+
55
+ position: relative;
56
+
57
+ padding-top: 48px;
58
+
59
+ color: #ffffff;
60
+
61
+ }
62
+
63
+
64
+
65
+ .logo{
66
+
67
+ margin-top: 17vh;
68
+
69
+ margin-right: auto;
70
+
71
+ margin-bottom: 35px;
72
+
73
+ margin-left: auto;
74
+
75
+ width:131px;
76
+
77
+ height:116px;
78
+
79
+ background:url("Flower/download.png");
80
+
81
+ background-size: contain;
82
+
83
+ background-repeat: no-repeat;
84
+
85
+ background-position: center;
86
+
87
+
88
+
89
+ }
90
+
91
+
92
+
93
+ .tagline{
94
+
95
+
96
+
97
+ font-size:25px;
98
+
99
+ margin-bottom: 62vh;
100
+
101
+
102
+
103
+ }
104
+
105
+
106
+
107
+ .footnote{
108
+
109
+ font-size: 16px;
110
+
111
+ }
112
+
113
+
114
+
115
+ .footnote p{
116
+
117
+ margin:5px
118
+
119
+ }
120
+
121
+
122
+
123
+
124
+
125
+ ```
126
+
127
+
128
+
129
+ ```lang-CSS
130
+
131
+ @charset "UTF-8";
132
+
133
+ /* CSS Document */
134
+
135
+
136
+
137
+ body{
138
+
139
+ height:100%;
140
+
141
+ margin: 0;
142
+
143
+ padding:0;
144
+
145
+ font-family: "Noto Sans JP", sans-serif;
146
+
147
+
148
+
149
+
150
+
151
+ }
152
+
153
+ .header {
154
+
155
+ background: url(https://s3-ap-northeast-1.amazonaws.com/flower-production-assets/assets/web/home/bg_header_pink-4704d42ed44908fb061e80afc515a93ab2fcbfd605c2580de486a4d980b2115a.jpg);
156
+
157
+ background-size: cover;
158
+
159
+ background-position: center;
160
+
161
+ background-repeat: no-repeat;
162
+
163
+ height: 100vh;
164
+
165
+ min-height: 660px;
166
+
167
+ text-align: center;
168
+
169
+ position: relative;
170
+
171
+ padding-top: 48px;
172
+
173
+ color: #ffffff;
174
+
175
+ }
176
+
177
+
178
+
179
+ .logo{
180
+
181
+ margin-top: 17vh;
182
+
183
+ margin-right: auto;
184
+
185
+ margin-bottom: 35px;
186
+
187
+ margin-left: auto;
188
+
189
+ width:131px;
190
+
191
+ height:116px;
192
+
193
+ background:url("Flower/download.png");
194
+
195
+ background-size: contain;
196
+
197
+ background-repeat: no-repeat;
198
+
199
+ background-position: center;
200
+
201
+
202
+
203
+ }
204
+
205
+
206
+
207
+ .tagline{
208
+
209
+
210
+
211
+ font-size:25px;
212
+
213
+ margin-bottom: 62vh;
214
+
215
+
216
+
217
+ }
218
+
219
+
220
+
221
+ .footnote{
222
+
223
+ font-size: 16px;
224
+
225
+ }
226
+
227
+
228
+
229
+ .footnote p{
230
+
231
+ margin:5px
232
+
233
+ }
234
+
235
+
236
+
237
+
238
+
239
+ ```