質問編集履歴

1

コードを追加いたしました。不具合がありましたらすぐに修正したいと思います。不手際で申し訳ありません

2019/02/13 11:18

投稿

kyasarin
kyasarin

スコア14

test CHANGED
File without changes
test CHANGED
@@ -40,6 +40,610 @@
40
40
 
41
41
 
42
42
 
43
+ ###現在のコード
44
+
45
+
46
+
47
+ ```html
48
+
49
+ <!DOCTYPE HTML>
50
+
51
+ <html lang="ja">
52
+
53
+ <head>
54
+
55
+ <meta charset="utf-8">
56
+
57
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
58
+
59
+ <link rel="stylesheet" href="css/style.css">
60
+
61
+ <link rel="stylesheet" href="css/responsive.css">
62
+
63
+ <link href="https://use.fontawesome.com/releases/v5.6.1/css/all.css" rel="stylesheet">
64
+
65
+ <title>iSara[イサラ] バンコクのノマドエンジニア養成講座</title>
66
+
67
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
68
+
69
+ </head>
70
+
71
+ <!-- ここからBODY -->
72
+
73
+ <body>
74
+
75
+ <!-- ここからheader -->
76
+
77
+
78
+
79
+ <div class="wrap">
80
+
81
+ <header>
82
+
83
+ <div class="header-container">
84
+
85
+ <div class="header-left">
86
+
87
+ <img src="img/isaralogo.png">
88
+
89
+ <p>バンコクのためのノマドエンジニア養成講座</p>
90
+
91
+ </div>
92
+
93
+ <div class="header-right">
94
+
95
+ <a class="scroll-btn" href="#form">お問い合わせ/資料請求はこちら</a>
96
+
97
+ </div>
98
+
99
+ <div class="sp-header-container">
100
+
101
+ <img src="img/form.png">
102
+
103
+ <a class="scroll-btn" href="#form">資料請求</a>
104
+
105
+ <div class="clear">
106
+
107
+ </div>
108
+
109
+ </div>
110
+
111
+
112
+
113
+ </div>
114
+
115
+
116
+
117
+ <div class="top-btn">
118
+
119
+ <i class="fas fa-angle-up top-arrow"></i>
120
+
121
+ </div>
122
+
123
+ </header>
124
+
125
+ </div>
126
+
127
+ ```
128
+
129
+
130
+
131
+ ```css
132
+
133
+ *{
134
+
135
+ box-sizing: border-box;
136
+
137
+ }
138
+
139
+
140
+
141
+ body{
142
+
143
+ margin:0px;
144
+
145
+ color:#111111;
146
+
147
+ }
148
+
149
+
150
+
151
+ .top-btn{
152
+
153
+ display: inline-block;
154
+
155
+ background-color:#ececec;
156
+
157
+ padding: 10px 20px;
158
+
159
+
160
+
161
+ position: fixed;
162
+
163
+ top: 80%;
164
+
165
+ left: 90%;
166
+
167
+ }
168
+
169
+
170
+
171
+ .top-btn:hover{
172
+
173
+ cursor: pointer;
174
+
175
+ }
176
+
177
+
178
+
179
+ .top-arrow{
180
+
181
+ font-size: 50px;
182
+
183
+ }
184
+
185
+
186
+
187
+ h1,h2,h3,h4{
188
+
189
+ margin: 0;
190
+
191
+ }
192
+
193
+
194
+
195
+ .clear{
196
+
197
+ clear:left;
198
+
199
+ }
200
+
201
+
202
+
203
+ header{
204
+
205
+ position: fixed;
206
+
207
+ left: 0;
208
+
209
+ right: 0;
210
+
211
+
212
+
213
+ z-index: 100;
214
+
215
+ background-color: white;
216
+
217
+ width: 100%;
218
+
219
+ }
220
+
221
+
222
+
223
+ .container{
224
+
225
+ width: 1170px;
226
+
227
+ margin: 0 auto;
228
+
229
+ }
230
+
231
+
232
+
233
+ .h-container{
234
+
235
+ width: 800px;
236
+
237
+ margin: 0 auto;
238
+
239
+ }
240
+
241
+
242
+
243
+ .h-container span{
244
+
245
+ font-size: 23px;
246
+
247
+ }
248
+
249
+
250
+
251
+ .sp-h-container{
252
+
253
+ display: none;
254
+
255
+ }
256
+
257
+
258
+
259
+
260
+
261
+
262
+
263
+ .header-container{
264
+
265
+ width:100%;
266
+
267
+ height: 73px;
268
+
269
+ margin: 0 auto;
270
+
271
+ padding: 10px 200px 5px 200px;
272
+
273
+ }
274
+
275
+
276
+
277
+ .header-left img{
278
+
279
+ float: left;
280
+
281
+ line-height: 75px;
282
+
283
+ }
284
+
285
+
286
+
287
+ .header-left p{
288
+
289
+ float: left;
290
+
291
+ line-height: 75px;
292
+
293
+ }
294
+
295
+
296
+
297
+
298
+
299
+ .header-left img{
300
+
301
+ width: 128px;
302
+
303
+ position: relative;
304
+
305
+ top: 5px;
306
+
307
+ }
308
+
309
+
310
+
311
+ .header-left p{
312
+
313
+ font-size:15px;
314
+
315
+ font-weight:400;
316
+
317
+ margin: 0px;
318
+
319
+ }
320
+
321
+
322
+
323
+ .header-right{
324
+
325
+ float: right;
326
+
327
+ text-align: center;
328
+
329
+ }
330
+
331
+
332
+
333
+ .header-right a{
334
+
335
+ position: relative;
336
+
337
+ top:10px;
338
+
339
+ display:block;
340
+
341
+ padding:10px 10px;
342
+
343
+ letter-spacing: 1px;
344
+
345
+ font-size:15px;
346
+
347
+ color:white;
348
+
349
+ opacity: 0.9;
350
+
351
+ background-color:#da6b64;
352
+
353
+ border-radius:50px;
354
+
355
+ text-decoration: none;
356
+
357
+ }
358
+
359
+
360
+
361
+ .header-right a:hover{
362
+
363
+ opacity: 1.0;
364
+
365
+ }
366
+
367
+
368
+
369
+ .sp-header-container{
370
+
371
+ display: none;
372
+
373
+
374
+
375
+ width: 20vw;
376
+
377
+ height: 73px;
378
+
379
+ padding:1% 0;
380
+
381
+ text-align: center;
382
+
383
+ background-color: #da6b64;
384
+
385
+ float: right;
386
+
387
+
388
+
389
+
390
+
391
+ }
392
+
393
+
394
+
395
+
396
+
397
+ .sp-header-container img{
398
+
399
+ width: 25px;
400
+
401
+ height: 28px;
402
+
403
+ }
404
+
405
+
406
+
407
+ .sp-header-container a{
408
+
409
+ display: block;
410
+
411
+ color: white;
412
+
413
+ text-decoration: none;
414
+
415
+ }
416
+
417
+
418
+
419
+ .sp-header-container a:hover{
420
+
421
+ text-decoration: underline;
422
+
423
+ color: white;
424
+
425
+ }
426
+
427
+ ```
428
+
429
+
430
+
431
+ ```responsive
432
+
433
+ @media(max-width:670px) {
434
+
435
+ .wrap{
436
+
437
+ overflow: hidden;
438
+
439
+ }
440
+
441
+
442
+
443
+ .container{
444
+
445
+ width: 100vw;
446
+
447
+ }
448
+
449
+
450
+
451
+ .h-container{
452
+
453
+ display: none;
454
+
455
+ }
456
+
457
+
458
+
459
+ .sp-h-container{
460
+
461
+ display: block;
462
+
463
+ width:100vw;
464
+
465
+ margin: 0 auto;
466
+
467
+ font-size: 10px;
468
+
469
+ text-align: center;
470
+
471
+ }
472
+
473
+
474
+
475
+ .sp-h-container h1{
476
+
477
+ margin-top: 10px;
478
+
479
+ font-size: 19px;
480
+
481
+ }
482
+
483
+
484
+
485
+ .sp-h-container h2{
486
+
487
+ font-size: 15px;
488
+
489
+ margin-top: 15px;
490
+
491
+ }
492
+
493
+
494
+
495
+ .t-box-1{
496
+
497
+ position: relative;
498
+
499
+ top:20px;
500
+
501
+ left:10%;
502
+
503
+ margin-right: 0;
504
+
505
+ }
506
+
507
+
508
+
509
+ .t-box-2{
510
+
511
+ position: relative;
512
+
513
+ bottom:20px;
514
+
515
+ left: -10%;
516
+
517
+ }
518
+
519
+
520
+
521
+ header{
522
+
523
+ width: 100vw;
524
+
525
+ height:73px;
526
+
527
+ }
528
+
529
+
530
+
531
+ .header-container{
532
+
533
+ width: 100vw;
534
+
535
+ height: auto;
536
+
537
+ padding:0vw;
538
+
539
+ position: relative;
540
+
541
+ }
542
+
543
+
544
+
545
+ .header-left{
546
+
547
+ margin-right: auto;
548
+
549
+ }
550
+
551
+
552
+
553
+ .header-left p{
554
+
555
+ font-size: 10px;
556
+
557
+ font-weight: bold;
558
+
559
+ position: absolute;
560
+
561
+ top: -20px;
562
+
563
+ left: 0;
564
+
565
+ }
566
+
567
+
568
+
569
+ .header-left img{
570
+
571
+ width:100px;
572
+
573
+ height: 35px;
574
+
575
+ float: none;
576
+
577
+ position: absolute;
578
+
579
+ top: 20px;
580
+
581
+ left: 0;
582
+
583
+ margin-top:10px;
584
+
585
+ }
586
+
587
+
588
+
589
+ .header-right{
590
+
591
+ margin-left: auto;
592
+
593
+ }
594
+
595
+
596
+
597
+ .header-right a{
598
+
599
+ display: none;
600
+
601
+ }
602
+
603
+
604
+
605
+ .sp-header-container{
606
+
607
+ display:inline-block;
608
+
609
+ }
610
+
611
+
612
+
613
+ .top-btn{
614
+
615
+ padding: 10px 15px;
616
+
617
+
618
+
619
+ position: fixed;
620
+
621
+ top: 90%;
622
+
623
+ left: 90%;
624
+
625
+ }
626
+
627
+
628
+
629
+ .top-arrow{
630
+
631
+ font-size: 20px;
632
+
633
+ }
634
+
635
+
636
+
637
+ ```
638
+
639
+
640
+
641
+
642
+
643
+
644
+
645
+
646
+
43
647
 
44
648
 
45
649