質問編集履歴

1

追記:html css

2019/05/09 12:58

投稿

gomakasu423
gomakasu423

スコア31

test CHANGED
File without changes
test CHANGED
@@ -25,3 +25,471 @@
25
25
  お手数ですがご教示いただきたく
26
26
 
27
27
  お願いを申し上げます。
28
+
29
+ ```html
30
+
31
+
32
+
33
+ <!DOCTYPE html>
34
+
35
+ <html>
36
+
37
+ <head>
38
+
39
+ <meta charset="utf-8">
40
+
41
+
42
+
43
+ <link rel="stylesheet" type="text/css" href="stylesheet.css">
44
+
45
+ <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
46
+
47
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
48
+
49
+ <link href="https://use.fontawesome.com/releases/v5.6.1/css/all.css" rel="stylesheet">
50
+
51
+ <script src= "https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
52
+
53
+
54
+
55
+ <title>paspol</title>
56
+
57
+ </head>
58
+
59
+ <body>
60
+
61
+ <header>
62
+
63
+ <div class="header-warpper">
64
+
65
+ <div class="header-left">
66
+
67
+ <a href=""><img src="http://pas-pol.jp/wp-content/themes/pas-pol/dist/img/siteLogo-pc@2x.png"></a>
68
+
69
+ </div>
70
+
71
+ <div class="header-right">
72
+
73
+ <ul>
74
+
75
+ <a href="#"><li>TOP</li></a>
76
+
77
+ <a href="#"><li>PRODUCT</li></a>
78
+
79
+ <a href="#"><li>ABOUT</li></a>
80
+
81
+ <a href="#"><li>NEWS </li></a>
82
+
83
+ <a href="#"><li>CONTACT</li></a>
84
+
85
+ </ul>
86
+
87
+ </div>
88
+
89
+ </header>
90
+
91
+
92
+
93
+ <div class="message-wrapper">
94
+
95
+ <div class="heading"><h2>旅に出よう。</h2></div>
96
+
97
+ <div class="contents">
98
+
99
+ <div class="context">
100
+
101
+ <p> 僕たちが作りたいのは<br>
102
+
103
+ 持っているだけで旅に出たくなるモノ。<br>
104
+
105
+ 持っているだけでわくわくするモノ。<br><br>
106
+
107
+
108
+
109
+ それは新しい時代の “パスポート”<br>
110
+
111
+ 僕たちが作るものは、<br>
112
+
113
+ そんな、存在でありたい。<br><br>
114
+
115
+
116
+
117
+ そして、人と人が繋がる<br>
118
+
119
+ こんな時代だからこそ、<br>
120
+
121
+ 僕たちは、みんなでひとつのモノを<br>
122
+
123
+ 作ることを追求したい。 <br>
124
+
125
+ </p>
126
+
127
+ </div>
128
+
129
+ <div class="logo">
130
+
131
+ <img src="./img/logo.PNG">
132
+
133
+ </div>
134
+
135
+ <div class="context">
136
+
137
+ <p>それは、自分と世界を繋げる<br>
138
+
139
+ 旅のモノづくりブランド</p>
140
+
141
+ </div>
142
+
143
+ </div>
144
+
145
+ </div>
146
+
147
+
148
+
149
+ <div class="product-inner">
150
+
151
+ <div class="product-header">
152
+
153
+ <p>PRODUCT</p>
154
+
155
+ <a href="#" class="btn" >MORE</a>
156
+
157
+ </div>
158
+
159
+ <div class="product-content">
160
+
161
+ <div class="content-crad">
162
+
163
+ <img src="http://s3-ap-northeast-1.amazonaws.com/paspol-images/wp-content/uploads/2018/11/%E3%81%93%E3%81%AE%E4%B8%96%E7%95%8C%E3%81%A6%E3%82%99%E6%AD%BB%E3%81%AC%E3%81%BE%E3%81%A6%E3%82%99%E3%81%AB%E3%81%97%E3%81%9F%E3%81%84%E3%81%93%E3%81%A82000.png">
164
+
165
+ <p>この世界で死ぬまで<br>にしたいこと2000</p>
166
+
167
+ </div>
168
+
169
+ <div class="content-crad">
170
+
171
+ <img src="http://s3-ap-northeast-1.amazonaws.com/paspol-images/wp-content/uploads/2018/09/365%E6%97%A5%E6%9C%AC%E3%82%AB%E3%83%AC%E3%83%B3%E3%82%BF%E3%82%99%E3%83%BC_%E3%82%B5%E3%83%A0%E3%83%8D%E3%82%A4%E3%83%AB.png">
172
+
173
+ <p>365日日本一周 絶景<br>日めくりカレンダー</p>
174
+
175
+ </div>
176
+
177
+ <div class="content-crad">
178
+
179
+ <img src="https://s3-ap-northeast-1.amazonaws.com/paspol-images/wp-content/uploads/2016/12/212465b615e458e672a9e0a1cbb1acf1.png">
180
+
181
+ <p>PASSPORT<br> NOTEBOOK<br> series</p>
182
+
183
+ </div>
184
+
185
+ <div class="content-crad">
186
+
187
+ <img src="http://s3-ap-northeast-1.amazonaws.com/paspol-images/wp-content/uploads/2018/02/englishbook-thumb1.png">
188
+
189
+ <p>ひとり旅英会話<br>BOOK </p>
190
+
191
+ </div>
192
+
193
+ <div class="content-crad">
194
+
195
+ <img src="https://s3-ap-northeast-1.amazonaws.com/paspol-images/wp-content/uploads/2016/12/212465b615e458e672a9e0a1cbb1acf1.png">
196
+
197
+ <p>日本の絶景ポストカード<br> 春編</p>
198
+
199
+ </div>
200
+
201
+ <div class="content-crad">
202
+
203
+ <img src="http://s3-ap-northeast-1.amazonaws.com/paspol-images/wp-content/uploads/2017/07/album-thumb1.png">
204
+
205
+ <p>Hawaii Album</p>
206
+
207
+ </div>
208
+
209
+ </div>
210
+
211
+ </div>
212
+
213
+
214
+
215
+ </div>
216
+
217
+ <script src="script.js"></script>
218
+
219
+ </body>
220
+
221
+ </html>
222
+
223
+
224
+
225
+ ```
226
+
227
+ ```css
228
+
229
+
230
+
231
+
232
+
233
+ body{
234
+
235
+ margin: 0;
236
+
237
+ font-family: "Helvetica Neue",Helvetica,Arial,"游ゴシック",YuGothic,"ヒラギノ角ゴ ProN W3","Hiragino Kaku Gothic ProN","メイリオ",Meiryo,sans-serif;font-family: "Helvetica Neue",Helvetica,Arial,"游ゴシック",YuGothic,"ヒラギノ角ゴ ProN W3","Hiragino Kaku Gothic ProN","メイリオ",Meiryo,sans-serif;
238
+
239
+ }
240
+
241
+ header{
242
+
243
+ background-image: url(http://pas-pol.jp/wp-content/uploads/2014/11/main_visual_13-0x0.jpg);
244
+
245
+ background-size: cover;
246
+
247
+ width: 100%;
248
+
249
+ height: 590px;
250
+
251
+ }
252
+
253
+ .header-warpper{
254
+
255
+ width:1170px;
256
+
257
+ height: 130px;
258
+
259
+ margin: 0 auto;
260
+
261
+ }
262
+
263
+ .header-left img{
264
+
265
+ width:277px;
266
+
267
+ height: 72px;
268
+
269
+ margin-top:50px;
270
+
271
+ float: left;
272
+
273
+
274
+
275
+ }
276
+
277
+ .header-warpper{
278
+
279
+ /* display: flex; */
280
+
281
+ }
282
+
283
+ .header-right{
284
+
285
+ /* display:flex; */
286
+
287
+ float :right;
288
+
289
+ margin-top: 80px;
290
+
291
+ /* text-align: right; */
292
+
293
+ }
294
+
295
+ .header-right ul{
296
+
297
+ font-family: "Gill Sans Std Book";
298
+
299
+ font-size: 14px;
300
+
301
+ display: initial;
302
+
303
+ }
304
+
305
+ ul li{
306
+
307
+ display: inline;
308
+
309
+ margin-right: 35px;
310
+
311
+ color:#fff;
312
+
313
+
314
+
315
+ }
316
+
317
+ ul a{
318
+
319
+ text-decoration: none;
320
+
321
+ }
322
+
323
+
324
+
325
+ .message-wrapper{
326
+
327
+ width: 100%;
328
+
329
+ margin:0 auto;
330
+
331
+ height:913px;
332
+
333
+ background-color: #F6F6F6;
334
+
335
+
336
+
337
+ }
338
+
339
+
340
+
341
+ .heading h2{
342
+
343
+ margin: 0;
344
+
345
+ font-size: 44px;
346
+
347
+ font-weight: 400;
348
+
349
+ text-align: center;
350
+
351
+ padding:120px 0px 30px 0px;
352
+
353
+ }
354
+
355
+ .contexts{
356
+
357
+ width:360px;
358
+
359
+ height: 563px;
360
+
361
+ margin:0 auto;
362
+
363
+ }
364
+
365
+
366
+
367
+ .context p{
368
+
369
+ font-size: 20px;
370
+
371
+ font-weight: 400;
372
+
373
+ margin:0 auto;
374
+
375
+ }
376
+
377
+ .logo{
378
+
379
+ text-align: center;
380
+
381
+ }
382
+
383
+ .inner{
384
+
385
+ width:818px;
386
+
387
+ margin: 0 auto;
388
+
389
+ }
390
+
391
+ .product-header{
392
+
393
+ width:818px;
394
+
395
+ height: 233px;
396
+
397
+ margin: 0 auto;
398
+
399
+ }
400
+
401
+ .product-header p{
402
+
403
+ float: left;
404
+
405
+ padding-top:107px;
406
+
407
+ font-family: 'Gill Sans Std Book';
408
+
409
+ font-size: 30px;
410
+
411
+ font-weight: 400;
412
+
413
+ line-height: 30px;
414
+
415
+ margin-top: 0;
416
+
417
+ }
418
+
419
+ .product-header a{
420
+
421
+ float: right;
422
+
423
+ display: block;
424
+
425
+ padding:0 60px;
426
+
427
+ line-height: 45px;
428
+
429
+ margin-top: 100px;
430
+
431
+ text-decoration: none;
432
+
433
+ color:#13191B;
434
+
435
+ transition: all 1s;
436
+
437
+ font-size:14px;
438
+
439
+ }
440
+
441
+ .product-header a:hover{
442
+
443
+ background-color: #13191B;
444
+
445
+ color:#fff;
446
+
447
+ }
448
+
449
+ .btn {
450
+
451
+ width:30px;
452
+
453
+ height: 43px;
454
+
455
+ border: solid 1px #13191B;
456
+
457
+ }
458
+
459
+ .product-content{
460
+
461
+ margin: 0 auto;
462
+
463
+ width:760px;
464
+
465
+ height:1018px;
466
+
467
+ display: flex;
468
+
469
+ justify-content:space-between;
470
+
471
+ flex-wrap: wrap;
472
+
473
+ }
474
+
475
+ .content-crad img{
476
+
477
+ width:237px;
478
+
479
+ height:311px;
480
+
481
+ }
482
+
483
+ .content-crad p{
484
+
485
+ text-align: center;
486
+
487
+ font-size:20px;
488
+
489
+ font-weight: 700;
490
+
491
+ }
492
+
493
+
494
+
495
+ ```