質問編集履歴
19
度々申し訳ございません。修正いたしました
test
CHANGED
File without changes
|
test
CHANGED
@@ -394,7 +394,7 @@
|
|
394
394
|
|
395
395
|
.header .header-inner .nav {
|
396
396
|
|
397
|
-
|
397
|
+
position: fixed;
|
398
398
|
|
399
399
|
left: 0;
|
400
400
|
|
@@ -416,6 +416,8 @@
|
|
416
416
|
|
417
417
|
transition: opacity 0.3s ease;
|
418
418
|
|
419
|
+
|
420
|
+
|
419
421
|
}
|
420
422
|
|
421
423
|
}
|
@@ -426,6 +428,8 @@
|
|
426
428
|
|
427
429
|
.header .header-inner .nav._open {
|
428
430
|
|
431
|
+
|
432
|
+
|
429
433
|
opacity: 1;
|
430
434
|
|
431
435
|
visibility: visible;
|
@@ -552,7 +556,9 @@
|
|
552
556
|
|
553
557
|
|
554
558
|
|
559
|
+
$(this).toggleClass("_open");
|
560
|
+
|
555
|
-
|
561
|
+
$(".nav").toggleClass("_open");
|
556
562
|
|
557
563
|
$(".header-list").toggleClass("_active");
|
558
564
|
|
18
追記しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -40,7 +40,7 @@
|
|
40
40
|
|
41
41
|
|
42
42
|
|
43
|
-
|
43
|
+
###期待したこと
|
44
44
|
|
45
45
|
ハンバーガーメニューをクリックすると、上記が表示されるようにしたいです。
|
46
46
|
|
@@ -70,7 +70,9 @@
|
|
70
70
|
|
71
71
|
```
|
72
72
|
|
73
|
+
-open,_activeがツール上ではオンオフになるが、実際には✖印などが動いていない。
|
74
|
+
|
73
|
-
|
75
|
+
コード上では反応するけど、画面上には反映されません
|
74
76
|
|
75
77
|
```
|
76
78
|
|
17
修正しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -40,26 +40,28 @@
|
|
40
40
|
|
41
41
|
|
42
42
|
|
43
|
+
|
44
|
+
|
45
|
+
ハンバーガーメニューをクリックすると、上記が表示されるようにしたいです。
|
46
|
+
|
47
|
+
何卒よろしくお願いいたします。
|
48
|
+
|
49
|
+
最終ゴール↓
|
50
|
+
|
51
|
+
→ボタンをクリックすると、_openクラスがつき、ハンバーガメニューで✖印作り、
|
52
|
+
|
53
|
+
スマホデバイスバージョンのliを作りたいです(イメージ図)
|
54
|
+
|
55
|
+
openをつけて、.lineを回転させ✖
|
56
|
+
|
57
|
+
activeをつけて、bg-color:#333;内に縦表示でli作成させたい(まだコードは書いていません。これは自力で行います)
|
58
|
+
|
59
|
+
goalを達成させたい!!
|
60
|
+
|
43
61
|
![イメージ図](dbfb69988da16dc000a8e1451c9f66e4.png)
|
44
62
|
|
45
63
|
|
46
64
|
|
47
|
-
ハンバーガーメニューをクリックすると、上記が表示されるようにしたいです。
|
48
|
-
|
49
|
-
何卒よろしくお願いいたします。
|
50
|
-
|
51
|
-
最終ゴール↓
|
52
|
-
|
53
|
-
→ハンバーガメニューで✖印作り、
|
54
|
-
|
55
|
-
スマホデバイスバージョンのliを作りたいです
|
56
|
-
|
57
|
-
openをつけて、.lineを回転させ✖
|
58
|
-
|
59
|
-
activeをつけて、bg-color:#333;内に縦表示でli作成させたい
|
60
|
-
|
61
|
-
goalを達成させたい!!
|
62
|
-
|
63
65
|
|
64
66
|
|
65
67
|
### 発生している問題・エラーメッセージ
|
16
修正いたしました
test
CHANGED
File without changes
|
test
CHANGED
@@ -40,6 +40,10 @@
|
|
40
40
|
|
41
41
|
|
42
42
|
|
43
|
+
![イメージ図](dbfb69988da16dc000a8e1451c9f66e4.png)
|
44
|
+
|
45
|
+
|
46
|
+
|
43
47
|
ハンバーガーメニューをクリックすると、上記が表示されるようにしたいです。
|
44
48
|
|
45
49
|
何卒よろしくお願いいたします。
|
@@ -544,9 +548,7 @@
|
|
544
548
|
|
545
549
|
|
546
550
|
|
547
|
-
$(this).toggleClass("_open");
|
548
|
-
|
549
|
-
|
551
|
+
$(this,".nav").toggleClass("_open");
|
550
552
|
|
551
553
|
$(".header-list").toggleClass("_active");
|
552
554
|
|
15
修正いたしました
test
CHANGED
File without changes
|
test
CHANGED
@@ -546,7 +546,7 @@
|
|
546
546
|
|
547
547
|
$(this).toggleClass("_open");
|
548
548
|
|
549
|
-
$(
|
549
|
+
$(".nav").toggleClass("_open");
|
550
550
|
|
551
551
|
$(".header-list").toggleClass("_active");
|
552
552
|
|
14
修正しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -544,7 +544,9 @@
|
|
544
544
|
|
545
545
|
|
546
546
|
|
547
|
+
$(this).toggleClass("_open");
|
548
|
+
|
547
|
-
|
549
|
+
$(”.nav”).toggleClass("_open");
|
548
550
|
|
549
551
|
$(".header-list").toggleClass("_active");
|
550
552
|
|
13
失礼しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -136,7 +136,7 @@
|
|
136
136
|
|
137
137
|
|
138
138
|
|
139
|
-
<nav class="nav id="js-nav">
|
139
|
+
<nav class="nav" id="js-nav">
|
140
140
|
|
141
141
|
<ul class="header-list">
|
142
142
|
|
12
修正いたしました
test
CHANGED
File without changes
|
test
CHANGED
@@ -536,6 +536,34 @@
|
|
536
536
|
|
537
537
|
```
|
538
538
|
|
539
|
+
```js
|
540
|
+
|
541
|
+
$(function(){
|
542
|
+
|
543
|
+
$("#js-humburger").on('click', function(){
|
544
|
+
|
545
|
+
|
546
|
+
|
547
|
+
$(this,".nav").toggleClass("_open");
|
548
|
+
|
549
|
+
$(".header-list").toggleClass("_active");
|
550
|
+
|
551
|
+
$("body").toggleClass("noscroll");
|
552
|
+
|
553
|
+
$(".this").fadeToggle(300);
|
554
|
+
|
555
|
+
|
556
|
+
|
557
|
+
});
|
558
|
+
|
559
|
+
|
560
|
+
|
561
|
+
});
|
562
|
+
|
563
|
+
```
|
564
|
+
|
565
|
+
|
566
|
+
|
539
567
|
### 試したこと
|
540
568
|
|
541
569
|
style.scssの確認。
|
11
header.scss,.css変更いたしました。変わりませんでした。
test
CHANGED
File without changes
|
test
CHANGED
@@ -272,7 +272,7 @@
|
|
272
272
|
|
273
273
|
}
|
274
274
|
|
275
|
-
|
275
|
+
```
|
276
276
|
|
277
277
|
```CSS
|
278
278
|
|
10
header.scss,.css変更いたしました。変わりませんでした。
test
CHANGED
File without changes
|
test
CHANGED
@@ -274,464 +274,268 @@
|
|
274
274
|
|
275
275
|
|
276
276
|
|
277
|
+
```CSS
|
278
|
+
|
279
|
+
.header {
|
280
|
+
|
281
|
+
background-color: #FFFFFF;
|
282
|
+
|
283
|
+
height: 94px;
|
284
|
+
|
285
|
+
position: fixed;
|
286
|
+
|
287
|
+
top: 0;
|
288
|
+
|
289
|
+
z-index: 9999;
|
290
|
+
|
291
|
+
width: 100%;
|
292
|
+
|
293
|
+
-webkit-box-shadow: 0px 3px 6px #00000029;
|
294
|
+
|
295
|
+
box-shadow: 0px 3px 6px #00000029;
|
296
|
+
|
297
|
+
}
|
298
|
+
|
299
|
+
|
300
|
+
|
301
|
+
.header .header-inner {
|
302
|
+
|
303
|
+
max-width: 1022px;
|
304
|
+
|
305
|
+
margin: 0 auto;
|
306
|
+
|
307
|
+
padding: 0 20px;
|
308
|
+
|
309
|
+
display: -webkit-box;
|
310
|
+
|
311
|
+
display: -webkit-flex;
|
312
|
+
|
313
|
+
display: -ms-flexbox;
|
314
|
+
|
315
|
+
display: flex;
|
316
|
+
|
317
|
+
-webkit-box-align: center;
|
318
|
+
|
319
|
+
-webkit-align-items: center;
|
320
|
+
|
321
|
+
-ms-flex-align: center;
|
322
|
+
|
323
|
+
align-items: center;
|
324
|
+
|
325
|
+
-webkit-box-pack: justify;
|
326
|
+
|
327
|
+
-webkit-justify-content: space-between;
|
328
|
+
|
329
|
+
-ms-flex-pack: justify;
|
330
|
+
|
331
|
+
justify-content: space-between;
|
332
|
+
|
333
|
+
height: 100%;
|
334
|
+
|
335
|
+
}
|
336
|
+
|
337
|
+
|
338
|
+
|
339
|
+
.header .header-inner .header-ttl {
|
340
|
+
|
341
|
+
display: -webkit-box;
|
342
|
+
|
343
|
+
display: -webkit-flex;
|
344
|
+
|
345
|
+
display: -ms-flexbox;
|
346
|
+
|
347
|
+
display: flex;
|
348
|
+
|
349
|
+
-webkit-box-align: center;
|
350
|
+
|
351
|
+
-webkit-align-items: center;
|
352
|
+
|
353
|
+
-ms-flex-align: center;
|
354
|
+
|
355
|
+
align-items: center;
|
356
|
+
|
357
|
+
}
|
358
|
+
|
359
|
+
|
360
|
+
|
361
|
+
.header .header-inner .header-ttl .img-logo {
|
362
|
+
|
363
|
+
width: 55px;
|
364
|
+
|
365
|
+
height: 55px;
|
366
|
+
|
367
|
+
}
|
368
|
+
|
369
|
+
|
370
|
+
|
371
|
+
.header .header-inner .header-ttl .logo-text {
|
372
|
+
|
373
|
+
display: block;
|
374
|
+
|
375
|
+
font-size: 2.4rem;
|
376
|
+
|
377
|
+
font-weight: bold;
|
378
|
+
|
379
|
+
margin-left: 16px;
|
380
|
+
|
381
|
+
}
|
382
|
+
|
383
|
+
|
384
|
+
|
385
|
+
@media screen and (max-width: 1200px) {
|
386
|
+
|
387
|
+
.header .header-inner .nav {
|
388
|
+
|
389
|
+
position: fixed;
|
390
|
+
|
391
|
+
left: 0;
|
392
|
+
|
393
|
+
top: 0;
|
394
|
+
|
395
|
+
width: 100%;
|
396
|
+
|
397
|
+
background-color: #000000CC;
|
398
|
+
|
399
|
+
padding-top: 145px;
|
400
|
+
|
401
|
+
z-index: 1;
|
402
|
+
|
403
|
+
opacity: 0;
|
404
|
+
|
405
|
+
visibility: hidden;
|
406
|
+
|
407
|
+
-webkit-transition: opacity 0.3s ease;
|
408
|
+
|
409
|
+
transition: opacity 0.3s ease;
|
410
|
+
|
411
|
+
}
|
412
|
+
|
413
|
+
}
|
414
|
+
|
415
|
+
|
416
|
+
|
417
|
+
@media screen and (max-width: 1200px) and (max-width: 1200px) {
|
418
|
+
|
419
|
+
.header .header-inner .nav._open {
|
420
|
+
|
421
|
+
opacity: 1;
|
422
|
+
|
423
|
+
visibility: visible;
|
424
|
+
|
425
|
+
-webkit-transition: opacity 0.3s ease;
|
426
|
+
|
427
|
+
transition: opacity 0.3s ease;
|
428
|
+
|
429
|
+
}
|
430
|
+
|
431
|
+
}
|
432
|
+
|
433
|
+
|
434
|
+
|
435
|
+
.header .header-inner .nav .header-list {
|
436
|
+
|
437
|
+
display: -webkit-box;
|
438
|
+
|
439
|
+
display: -webkit-flex;
|
440
|
+
|
441
|
+
display: -ms-flexbox;
|
442
|
+
|
443
|
+
display: flex;
|
444
|
+
|
445
|
+
-webkit-box-pack: justify;
|
446
|
+
|
447
|
+
-webkit-justify-content: space-between;
|
448
|
+
|
449
|
+
-ms-flex-pack: justify;
|
450
|
+
|
451
|
+
justify-content: space-between;
|
452
|
+
|
453
|
+
-webkit-box-align: center;
|
454
|
+
|
455
|
+
-webkit-align-items: center;
|
456
|
+
|
457
|
+
-ms-flex-align: center;
|
458
|
+
|
459
|
+
align-items: center;
|
460
|
+
|
461
|
+
}
|
462
|
+
|
463
|
+
|
464
|
+
|
465
|
+
@media screen and (max-width: 1200px) {
|
466
|
+
|
467
|
+
.header .header-inner .nav .header-list {
|
468
|
+
|
469
|
+
display: none;
|
470
|
+
|
471
|
+
}
|
472
|
+
|
473
|
+
}
|
474
|
+
|
475
|
+
|
476
|
+
|
477
|
+
.header .header-inner .nav .header-list .header-item > a {
|
478
|
+
|
479
|
+
font-weight: bold;
|
480
|
+
|
481
|
+
}
|
482
|
+
|
483
|
+
|
484
|
+
|
485
|
+
.header .header-inner .nav .header-list .header-item + .header-item {
|
486
|
+
|
487
|
+
padding-left: 46px;
|
488
|
+
|
489
|
+
}
|
490
|
+
|
491
|
+
|
492
|
+
|
493
|
+
.header .header-inner .header-link {
|
494
|
+
|
495
|
+
width: 155px;
|
496
|
+
|
497
|
+
height: 37px;
|
498
|
+
|
499
|
+
}
|
500
|
+
|
501
|
+
|
502
|
+
|
503
|
+
@media screen and (max-width: 769px) {
|
504
|
+
|
505
|
+
.header .header-inner .header-link {
|
506
|
+
|
507
|
+
display: none;
|
508
|
+
|
509
|
+
}
|
510
|
+
|
511
|
+
}
|
512
|
+
|
513
|
+
|
514
|
+
|
515
|
+
@media screen and (max-width: 1200px) {
|
516
|
+
|
517
|
+
.header .header-inner .header-link {
|
518
|
+
|
519
|
+
display: none;
|
520
|
+
|
521
|
+
}
|
522
|
+
|
523
|
+
}
|
524
|
+
|
525
|
+
|
526
|
+
|
527
|
+
.header .header-inner .header-link > a {
|
528
|
+
|
529
|
+
color: #fff;
|
530
|
+
|
531
|
+
font-size: 1.4rem;
|
532
|
+
|
533
|
+
text-align: center;
|
534
|
+
|
535
|
+
}
|
536
|
+
|
277
537
|
```
|
278
538
|
|
279
|
-
|
280
|
-
|
281
|
-
```CSS
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
.header {
|
286
|
-
|
287
|
-
background-color: #FFFFFF;
|
288
|
-
|
289
|
-
height: 94px;
|
290
|
-
|
291
|
-
position: fixed;
|
292
|
-
|
293
|
-
top: 0;
|
294
|
-
|
295
|
-
z-index: 9999;
|
296
|
-
|
297
|
-
width: 100%;
|
298
|
-
|
299
|
-
-webkit-box-shadow: 0px 3px 6px #00000029;
|
300
|
-
|
301
|
-
box-shadow: 0px 3px 6px #00000029;
|
302
|
-
|
303
|
-
}
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
.header .header-inner {
|
308
|
-
|
309
|
-
width: 1022px;
|
310
|
-
|
311
|
-
margin: 0 auto;
|
312
|
-
|
313
|
-
padding: 0 20px;
|
314
|
-
|
315
|
-
display: -webkit-box;
|
316
|
-
|
317
|
-
display: -ms-flexbox;
|
318
|
-
|
319
|
-
display: flex;
|
320
|
-
|
321
|
-
-webkit-box-align: center;
|
322
|
-
|
323
|
-
-ms-flex-align: center;
|
324
|
-
|
325
|
-
align-items: center;
|
326
|
-
|
327
|
-
-webkit-box-pack: justify;
|
328
|
-
|
329
|
-
-ms-flex-pack: justify;
|
330
|
-
|
331
|
-
justify-content: space-between;
|
332
|
-
|
333
|
-
height: 100%;
|
334
|
-
|
335
|
-
}
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
.header .header-inner .header-ttl {
|
340
|
-
|
341
|
-
display: -webkit-box;
|
342
|
-
|
343
|
-
display: -ms-flexbox;
|
344
|
-
|
345
|
-
display: flex;
|
346
|
-
|
347
|
-
-webkit-box-align: center;
|
348
|
-
|
349
|
-
-ms-flex-align: center;
|
350
|
-
|
351
|
-
align-items: center;
|
352
|
-
|
353
|
-
}
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
.header .header-inner .header-ttl .img-logo {
|
358
|
-
|
359
|
-
width: 55px;
|
360
|
-
|
361
|
-
height: 55px;
|
362
|
-
|
363
|
-
}
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
.header .header-inner .header-ttl .logo-text {
|
368
|
-
|
369
|
-
display: block;
|
370
|
-
|
371
|
-
font-size: 2.4rem;
|
372
|
-
|
373
|
-
font-weight: bold;
|
374
|
-
|
375
|
-
margin-left: 16px;
|
376
|
-
|
377
|
-
}
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
.header .header-inner .humburger__line {
|
382
|
-
|
383
|
-
display: none;
|
384
|
-
|
385
|
-
}
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
@media print, screen and (max-width: 1024px) {
|
390
|
-
|
391
|
-
.header .header-inner .humburger__line {
|
392
|
-
|
393
|
-
position: absolute;
|
394
|
-
|
395
|
-
top: 0;
|
396
|
-
|
397
|
-
right: 0;
|
398
|
-
|
399
|
-
bottom: 0;
|
400
|
-
|
401
|
-
left: 0;
|
402
|
-
|
403
|
-
margin: auto;
|
404
|
-
|
405
|
-
width: 18px;
|
406
|
-
|
407
|
-
height: 2px;
|
408
|
-
|
409
|
-
background-color: #333;
|
410
|
-
|
411
|
-
-webkit-transition: inherit;
|
412
|
-
|
413
|
-
transition: inherit;
|
414
|
-
|
415
|
-
}
|
416
|
-
|
417
|
-
.header .header-inner .humburger__line ::before {
|
418
|
-
|
419
|
-
top: -5px;
|
420
|
-
|
421
|
-
}
|
422
|
-
|
423
|
-
.header .header-inner .humburger__line ::after {
|
424
|
-
|
425
|
-
top: 5px;
|
426
|
-
|
427
|
-
}
|
428
|
-
|
429
|
-
}
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
.header .header-inner .nav .header-list {
|
434
|
-
|
435
|
-
display: -webkit-box;
|
436
|
-
|
437
|
-
display: -ms-flexbox;
|
438
|
-
|
439
|
-
display: flex;
|
440
|
-
|
441
|
-
-webkit-box-pack: justify;
|
442
|
-
|
443
|
-
-ms-flex-pack: justify;
|
444
|
-
|
445
|
-
justify-content: space-between;
|
446
|
-
|
447
|
-
-webkit-box-align: center;
|
448
|
-
|
449
|
-
-ms-flex-align: center;
|
450
|
-
|
451
|
-
align-items: center;
|
452
|
-
|
453
|
-
}
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
.header .header-inner .nav .header-list .header-item > a {
|
458
|
-
|
459
|
-
font-weight: bold;
|
460
|
-
|
461
|
-
}
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
.header .header-inner .nav .header-list .header-item + .header-item {
|
466
|
-
|
467
|
-
padding-left: 46px;
|
468
|
-
|
469
|
-
}
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
.header .header-inner .nav .header-link {
|
474
|
-
|
475
|
-
width: 155px;
|
476
|
-
|
477
|
-
height: 37px;
|
478
|
-
|
479
|
-
}
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
.header .header-inner .nav .header-link > a {
|
484
|
-
|
485
|
-
color: #fff;
|
486
|
-
|
487
|
-
font-size: 1.4rem;
|
488
|
-
|
489
|
-
text-align: center;
|
490
|
-
|
491
|
-
}
|
492
|
-
|
493
|
-
```
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
```js
|
500
|
-
|
501
|
-
$(function(){
|
502
|
-
|
503
|
-
$("#js-humburger").on('click', function(){
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
$(".this").fadeToggle(300);
|
508
|
-
|
509
|
-
$(this, ".line").toggleClass("_open");
|
510
|
-
|
511
|
-
$(".header-list").toggleClass("_active");
|
512
|
-
|
513
|
-
$("body").toggleClass("noscroll");
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
});
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
});
|
522
|
-
|
523
|
-
```
|
524
|
-
|
525
|
-
```SCSS
|
526
|
-
|
527
|
-
.header{
|
528
|
-
|
529
|
-
background-color: #FFFFFF;
|
530
|
-
|
531
|
-
height: 94px;
|
532
|
-
|
533
|
-
position: fixed;
|
534
|
-
|
535
|
-
top: 0;
|
536
|
-
|
537
|
-
z-index: 9999;
|
538
|
-
|
539
|
-
width: 100%;
|
540
|
-
|
541
|
-
box-shadow: 0px 3px 6px #00000029;
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
.header-inner{
|
546
|
-
|
547
|
-
max-width: 1022px;
|
548
|
-
|
549
|
-
margin: 0 auto;
|
550
|
-
|
551
|
-
padding: 0 20px;
|
552
|
-
|
553
|
-
display: flex;
|
554
|
-
|
555
|
-
align-items: center;
|
556
|
-
|
557
|
-
justify-content: space-between;
|
558
|
-
|
559
|
-
height: 100%;
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
.header-ttl{
|
564
|
-
|
565
|
-
display: flex;
|
566
|
-
|
567
|
-
align-items: center;
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
.img-logo{
|
572
|
-
|
573
|
-
width: 55px;
|
574
|
-
|
575
|
-
height: 55px;
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
}
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
.logo-text{
|
584
|
-
|
585
|
-
display: block;
|
586
|
-
|
587
|
-
font-size: 2.4rem;
|
588
|
-
|
589
|
-
font-weight: bold;
|
590
|
-
|
591
|
-
margin-left: 16px;
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
}
|
596
|
-
|
597
|
-
}
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
.nav{
|
606
|
-
|
607
|
-
@include mt {
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
&._open{
|
612
|
-
|
613
|
-
position: fixed;
|
614
|
-
|
615
|
-
left: 0;
|
616
|
-
|
617
|
-
top: 0;
|
618
|
-
|
619
|
-
width: 100%;
|
620
|
-
|
621
|
-
background-color: #000000CC;
|
622
|
-
|
623
|
-
padding-top: 145px;
|
624
|
-
|
625
|
-
z-index: 1;
|
626
|
-
|
627
|
-
opacity: 0;
|
628
|
-
|
629
|
-
visibility: hidden;
|
630
|
-
|
631
|
-
transition: opacity 0.3s ease;
|
632
|
-
|
633
|
-
opacity: 1;
|
634
|
-
|
635
|
-
visibility: visible;
|
636
|
-
|
637
|
-
transition: opacity 0.3s ease;
|
638
|
-
|
639
|
-
}
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
}
|
644
|
-
|
645
|
-
.header-list{
|
646
|
-
|
647
|
-
display: flex;
|
648
|
-
|
649
|
-
justify-content: space-between;
|
650
|
-
|
651
|
-
align-items: center;
|
652
|
-
|
653
|
-
@include mt {
|
654
|
-
|
655
|
-
display: none;
|
656
|
-
|
657
|
-
}
|
658
|
-
|
659
|
-
&._active{
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
}
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
.header-item{
|
670
|
-
|
671
|
-
>a{
|
672
|
-
|
673
|
-
font-weight: bold;
|
674
|
-
|
675
|
-
}
|
676
|
-
|
677
|
-
+ .header-item{
|
678
|
-
|
679
|
-
padding-left: 46px;
|
680
|
-
|
681
|
-
}
|
682
|
-
|
683
|
-
}
|
684
|
-
|
685
|
-
}
|
686
|
-
|
687
|
-
}
|
688
|
-
|
689
|
-
.header-link{
|
690
|
-
|
691
|
-
width: 155px;
|
692
|
-
|
693
|
-
height: 37px;
|
694
|
-
|
695
|
-
@include mq {
|
696
|
-
|
697
|
-
display: none;
|
698
|
-
|
699
|
-
}
|
700
|
-
|
701
|
-
@include mt {
|
702
|
-
|
703
|
-
display: none;
|
704
|
-
|
705
|
-
}
|
706
|
-
|
707
|
-
>a{
|
708
|
-
|
709
|
-
color: #fff;
|
710
|
-
|
711
|
-
font-size: 1.4rem;
|
712
|
-
|
713
|
-
text-align: center;
|
714
|
-
|
715
|
-
}
|
716
|
-
|
717
|
-
}
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
}
|
722
|
-
|
723
|
-
}
|
724
|
-
|
725
|
-
|
726
|
-
|
727
|
-
|
728
|
-
|
729
|
-
```
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
|
734
|
-
|
735
539
|
### 試したこと
|
736
540
|
|
737
541
|
style.scssの確認。
|
9
修正いたしました
test
CHANGED
File without changes
|
test
CHANGED
@@ -2,7 +2,47 @@
|
|
2
2
|
|
3
3
|
CSSがstyle.cssに更新されない→更新されました。
|
4
4
|
|
5
|
-
|
5
|
+
しかし、
|
6
|
+
|
7
|
+
navに書いた、こちらが表示されない原因についてお伺いしたく、ご連絡しました!
|
8
|
+
|
9
|
+
↓です。
|
10
|
+
|
11
|
+
```nav
|
12
|
+
|
13
|
+
position: fixed;
|
14
|
+
|
15
|
+
left: 0;
|
16
|
+
|
17
|
+
top: 0;
|
18
|
+
|
19
|
+
width: 100%;
|
20
|
+
|
21
|
+
background-color: #000000CC;
|
22
|
+
|
23
|
+
padding-top: 145px;
|
24
|
+
|
25
|
+
z-index: 1;
|
26
|
+
|
27
|
+
opacity: 0;
|
28
|
+
|
29
|
+
visibility: hidden;
|
30
|
+
|
31
|
+
transition: opacity 0.3s ease;
|
32
|
+
|
33
|
+
opacity: 1;
|
34
|
+
|
35
|
+
visibility: visible;
|
36
|
+
|
37
|
+
transition: opacity 0.3s ease;
|
38
|
+
|
39
|
+
```
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
ハンバーガーメニューをクリックすると、上記が表示されるようにしたいです。
|
44
|
+
|
45
|
+
何卒よろしくお願いいたします。
|
6
46
|
|
7
47
|
最終ゴール↓
|
8
48
|
|
8
修正しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
### 前提・実現したいこと
|
2
2
|
|
3
|
-
|
3
|
+
CSSがstyle.cssに更新されない→更新されました。
|
4
4
|
|
5
5
|
|
6
6
|
|
@@ -14,11 +14,7 @@
|
|
14
14
|
|
15
15
|
activeをつけて、bg-color:#333;内に縦表示でli作成させたい
|
16
16
|
|
17
|
-
|
18
|
-
|
19
|
-
原因(仮説):style.scss→CSSをコンパイルされてないです。
|
20
|
-
|
21
|
-
|
17
|
+
goalを達成させたい!!
|
22
18
|
|
23
19
|
|
24
20
|
|
@@ -28,7 +24,7 @@
|
|
28
24
|
|
29
25
|
```
|
30
26
|
|
31
|
-
|
27
|
+
なし
|
32
28
|
|
33
29
|
```
|
34
30
|
|
7
修正いたしました。よろしくお願いいたします。
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
### 前提・実現したいこと
|
2
2
|
|
3
|
-
HTML,CSSがstyle.cssに更新されない
|
3
|
+
(HTMLの一部変更したもの),CSSがstyle.cssに更新されない
|
4
|
+
|
5
|
+
|
6
|
+
|
7
|
+
最終ゴール↓
|
4
8
|
|
5
9
|
→ハンバーガメニューで✖印作り、
|
6
10
|
|
@@ -12,7 +16,9 @@
|
|
12
16
|
|
13
17
|
|
14
18
|
|
15
|
-
|
19
|
+
原因(仮説):style.scss→CSSをコンパイルされてないです。
|
20
|
+
|
21
|
+
SCSSを保存→success済み
|
16
22
|
|
17
23
|
|
18
24
|
|
@@ -164,6 +170,78 @@
|
|
164
170
|
|
165
171
|
|
166
172
|
|
173
|
+
```mixin.scss
|
174
|
+
|
175
|
+
@charset "UTF-8";
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
// ブレイクポイント
|
180
|
+
|
181
|
+
$breakpoints: (
|
182
|
+
|
183
|
+
'sm': 'screen and (max-width: 576px)',
|
184
|
+
|
185
|
+
'md': 'screen and (max-width: 769px)',
|
186
|
+
|
187
|
+
'lg': 'screen and (max-width: 992px)',
|
188
|
+
|
189
|
+
'xl': 'screen and (max-width: 1200px)'
|
190
|
+
|
191
|
+
) !default;
|
192
|
+
|
193
|
+
@mixin mq($breakpoint: md) {
|
194
|
+
|
195
|
+
@media #{map-get($breakpoints, $breakpoint)} {
|
196
|
+
|
197
|
+
@content;
|
198
|
+
|
199
|
+
}
|
200
|
+
|
201
|
+
}
|
202
|
+
|
203
|
+
|
204
|
+
|
205
|
+
@mixin mr($breakpoint: sm) {
|
206
|
+
|
207
|
+
@media #{map-get($breakpoints, $breakpoint)} {
|
208
|
+
|
209
|
+
@content;
|
210
|
+
|
211
|
+
}
|
212
|
+
|
213
|
+
}
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
@mixin ms($breakpoint: lg) {
|
218
|
+
|
219
|
+
@media #{map-get($breakpoints, $breakpoint)} {
|
220
|
+
|
221
|
+
@content;
|
222
|
+
|
223
|
+
}
|
224
|
+
|
225
|
+
}
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
@mixin mt($breakpoint: xl) {
|
230
|
+
|
231
|
+
@media #{map-get($breakpoints, $breakpoint)} {
|
232
|
+
|
233
|
+
@content;
|
234
|
+
|
235
|
+
}
|
236
|
+
|
237
|
+
}
|
238
|
+
|
239
|
+
|
240
|
+
|
241
|
+
```
|
242
|
+
|
243
|
+
|
244
|
+
|
167
245
|
```CSS
|
168
246
|
|
169
247
|
|
6
修正いたしました
test
CHANGED
File without changes
|
test
CHANGED
@@ -408,7 +408,211 @@
|
|
408
408
|
|
409
409
|
```
|
410
410
|
|
411
|
-
|
411
|
+
```SCSS
|
412
|
+
|
413
|
+
.header{
|
414
|
+
|
415
|
+
background-color: #FFFFFF;
|
416
|
+
|
417
|
+
height: 94px;
|
418
|
+
|
419
|
+
position: fixed;
|
420
|
+
|
421
|
+
top: 0;
|
422
|
+
|
423
|
+
z-index: 9999;
|
424
|
+
|
425
|
+
width: 100%;
|
426
|
+
|
427
|
+
box-shadow: 0px 3px 6px #00000029;
|
428
|
+
|
429
|
+
|
430
|
+
|
431
|
+
.header-inner{
|
432
|
+
|
433
|
+
max-width: 1022px;
|
434
|
+
|
435
|
+
margin: 0 auto;
|
436
|
+
|
437
|
+
padding: 0 20px;
|
438
|
+
|
439
|
+
display: flex;
|
440
|
+
|
441
|
+
align-items: center;
|
442
|
+
|
443
|
+
justify-content: space-between;
|
444
|
+
|
445
|
+
height: 100%;
|
446
|
+
|
447
|
+
|
448
|
+
|
449
|
+
.header-ttl{
|
450
|
+
|
451
|
+
display: flex;
|
452
|
+
|
453
|
+
align-items: center;
|
454
|
+
|
455
|
+
|
456
|
+
|
457
|
+
.img-logo{
|
458
|
+
|
459
|
+
width: 55px;
|
460
|
+
|
461
|
+
height: 55px;
|
462
|
+
|
463
|
+
|
464
|
+
|
465
|
+
}
|
466
|
+
|
467
|
+
|
468
|
+
|
469
|
+
.logo-text{
|
470
|
+
|
471
|
+
display: block;
|
472
|
+
|
473
|
+
font-size: 2.4rem;
|
474
|
+
|
475
|
+
font-weight: bold;
|
476
|
+
|
477
|
+
margin-left: 16px;
|
478
|
+
|
479
|
+
|
480
|
+
|
481
|
+
}
|
482
|
+
|
483
|
+
}
|
484
|
+
|
485
|
+
|
486
|
+
|
487
|
+
|
488
|
+
|
489
|
+
|
490
|
+
|
491
|
+
.nav{
|
492
|
+
|
493
|
+
@include mt {
|
494
|
+
|
495
|
+
|
496
|
+
|
497
|
+
&._open{
|
498
|
+
|
499
|
+
position: fixed;
|
500
|
+
|
501
|
+
left: 0;
|
502
|
+
|
503
|
+
top: 0;
|
504
|
+
|
505
|
+
width: 100%;
|
506
|
+
|
507
|
+
background-color: #000000CC;
|
508
|
+
|
509
|
+
padding-top: 145px;
|
510
|
+
|
511
|
+
z-index: 1;
|
512
|
+
|
513
|
+
opacity: 0;
|
514
|
+
|
515
|
+
visibility: hidden;
|
516
|
+
|
517
|
+
transition: opacity 0.3s ease;
|
518
|
+
|
519
|
+
opacity: 1;
|
520
|
+
|
521
|
+
visibility: visible;
|
522
|
+
|
523
|
+
transition: opacity 0.3s ease;
|
524
|
+
|
525
|
+
}
|
526
|
+
|
527
|
+
|
528
|
+
|
529
|
+
}
|
530
|
+
|
531
|
+
.header-list{
|
532
|
+
|
533
|
+
display: flex;
|
534
|
+
|
535
|
+
justify-content: space-between;
|
536
|
+
|
537
|
+
align-items: center;
|
538
|
+
|
539
|
+
@include mt {
|
540
|
+
|
541
|
+
display: none;
|
542
|
+
|
543
|
+
}
|
544
|
+
|
545
|
+
&._active{
|
546
|
+
|
547
|
+
|
548
|
+
|
549
|
+
|
550
|
+
|
551
|
+
}
|
552
|
+
|
553
|
+
|
554
|
+
|
555
|
+
.header-item{
|
556
|
+
|
557
|
+
>a{
|
558
|
+
|
559
|
+
font-weight: bold;
|
560
|
+
|
561
|
+
}
|
562
|
+
|
563
|
+
+ .header-item{
|
564
|
+
|
565
|
+
padding-left: 46px;
|
566
|
+
|
567
|
+
}
|
568
|
+
|
569
|
+
}
|
570
|
+
|
571
|
+
}
|
572
|
+
|
573
|
+
}
|
574
|
+
|
575
|
+
.header-link{
|
576
|
+
|
577
|
+
width: 155px;
|
578
|
+
|
579
|
+
height: 37px;
|
580
|
+
|
581
|
+
@include mq {
|
582
|
+
|
583
|
+
display: none;
|
584
|
+
|
585
|
+
}
|
586
|
+
|
587
|
+
@include mt {
|
588
|
+
|
589
|
+
display: none;
|
590
|
+
|
591
|
+
}
|
592
|
+
|
593
|
+
>a{
|
594
|
+
|
595
|
+
color: #fff;
|
596
|
+
|
597
|
+
font-size: 1.4rem;
|
598
|
+
|
599
|
+
text-align: center;
|
600
|
+
|
601
|
+
}
|
602
|
+
|
603
|
+
}
|
604
|
+
|
605
|
+
|
606
|
+
|
607
|
+
}
|
608
|
+
|
609
|
+
}
|
610
|
+
|
611
|
+
|
612
|
+
|
613
|
+
|
614
|
+
|
615
|
+
```
|
412
616
|
|
413
617
|
|
414
618
|
|
5
test
CHANGED
File without changes
|
test
CHANGED
@@ -48,7 +48,7 @@
|
|
48
48
|
|
49
49
|
<meta name="robots" content="noindex">
|
50
50
|
|
51
|
-
<title>
|
51
|
+
<title>中級編</title>
|
52
52
|
|
53
53
|
|
54
54
|
|
4
test
CHANGED
File without changes
|
test
CHANGED
File without changes
|
3
修正しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -160,6 +160,8 @@
|
|
160
160
|
|
161
161
|
</html>
|
162
162
|
|
163
|
+
```
|
164
|
+
|
163
165
|
|
164
166
|
|
165
167
|
```CSS
|
@@ -410,126 +412,6 @@
|
|
410
412
|
|
411
413
|
|
412
414
|
|
413
|
-
```SCSS
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
.humburger{
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
@include mt{
|
422
|
-
|
423
|
-
display: block;
|
424
|
-
|
425
|
-
height: 80px;
|
426
|
-
|
427
|
-
width: 80px;
|
428
|
-
|
429
|
-
position: fixed;
|
430
|
-
|
431
|
-
top: 0%;
|
432
|
-
|
433
|
-
right: 0px
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
@include mt{
|
438
|
-
|
439
|
-
.line {
|
440
|
-
|
441
|
-
display: block;
|
442
|
-
|
443
|
-
height: 1px;
|
444
|
-
|
445
|
-
width: 60%;
|
446
|
-
|
447
|
-
background-color: #333;
|
448
|
-
|
449
|
-
position: absolute;
|
450
|
-
|
451
|
-
top: 50%;
|
452
|
-
|
453
|
-
left: 50%;
|
454
|
-
|
455
|
-
transform: translate(-50%,-50%);
|
456
|
-
|
457
|
-
transition: .3s;
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
&:first-child {
|
462
|
-
|
463
|
-
display: block;
|
464
|
-
|
465
|
-
transform: translate(-50%,-15px);
|
466
|
-
|
467
|
-
}
|
468
|
-
|
469
|
-
&:nth-child(2) {
|
470
|
-
|
471
|
-
/* top: 0;
|
472
|
-
|
473
|
-
bottom: 0;
|
474
|
-
|
475
|
-
margin: auto; */
|
476
|
-
|
477
|
-
}
|
478
|
-
|
479
|
-
&:last-child {
|
480
|
-
|
481
|
-
transform: translate(-50%,15px);
|
482
|
-
|
483
|
-
}
|
484
|
-
|
485
|
-
//js-open
|
486
|
-
|
487
|
-
&._open{
|
488
|
-
|
489
|
-
&:first-child {
|
490
|
-
|
491
|
-
display: block;
|
492
|
-
|
493
|
-
transform: rotate(45deg) translate(-50%,-15px) ;
|
494
|
-
|
495
|
-
transform-origin: left;
|
496
|
-
|
497
|
-
}
|
498
|
-
|
499
|
-
&:nth-child(2){
|
500
|
-
|
501
|
-
&._open{
|
502
|
-
|
503
|
-
opacity: 0;
|
504
|
-
|
505
|
-
}
|
506
|
-
|
507
|
-
}
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
&:last-child {
|
512
|
-
|
513
|
-
transform: rotate(45deg) translate(-50%,15px) ;
|
514
|
-
|
515
|
-
transform-origin: left;
|
516
|
-
|
517
|
-
}
|
518
|
-
|
519
|
-
}
|
520
|
-
|
521
|
-
}
|
522
|
-
|
523
|
-
}
|
524
|
-
|
525
|
-
}
|
526
|
-
|
527
|
-
}
|
528
|
-
|
529
|
-
```
|
530
|
-
|
531
|
-
|
532
|
-
|
533
415
|
|
534
416
|
|
535
417
|
### 試したこと
|
2
修正しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -376,152 +376,158 @@
|
|
376
376
|
|
377
377
|
```
|
378
378
|
|
379
|
+
|
380
|
+
|
381
|
+
|
382
|
+
|
383
|
+
```js
|
384
|
+
|
385
|
+
$(function(){
|
386
|
+
|
387
|
+
$("#js-humburger").on('click', function(){
|
388
|
+
|
389
|
+
|
390
|
+
|
391
|
+
$(".this").fadeToggle(300);
|
392
|
+
|
393
|
+
$(this, ".line").toggleClass("_open");
|
394
|
+
|
395
|
+
$(".header-list").toggleClass("_active");
|
396
|
+
|
397
|
+
$("body").toggleClass("noscroll");
|
398
|
+
|
399
|
+
|
400
|
+
|
401
|
+
});
|
402
|
+
|
403
|
+
|
404
|
+
|
405
|
+
});
|
406
|
+
|
379
407
|
```
|
380
408
|
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
409
|
+
|
410
|
+
|
411
|
+
|
412
|
+
|
413
|
+
```SCSS
|
414
|
+
|
415
|
+
|
416
|
+
|
417
|
+
.humburger{
|
418
|
+
|
419
|
+
|
420
|
+
|
421
|
+
@include mt{
|
422
|
+
|
423
|
+
display: block;
|
424
|
+
|
425
|
+
height: 80px;
|
426
|
+
|
427
|
+
width: 80px;
|
428
|
+
|
429
|
+
position: fixed;
|
430
|
+
|
431
|
+
top: 0%;
|
432
|
+
|
433
|
+
right: 0px
|
434
|
+
|
435
|
+
|
436
|
+
|
437
|
+
@include mt{
|
438
|
+
|
439
|
+
.line {
|
440
|
+
|
441
|
+
display: block;
|
442
|
+
|
443
|
+
height: 1px;
|
444
|
+
|
445
|
+
width: 60%;
|
446
|
+
|
447
|
+
background-color: #333;
|
448
|
+
|
449
|
+
position: absolute;
|
450
|
+
|
451
|
+
top: 50%;
|
452
|
+
|
453
|
+
left: 50%;
|
454
|
+
|
455
|
+
transform: translate(-50%,-50%);
|
456
|
+
|
457
|
+
transition: .3s;
|
458
|
+
|
459
|
+
|
460
|
+
|
461
|
+
&:first-child {
|
462
|
+
|
463
|
+
display: block;
|
464
|
+
|
465
|
+
transform: translate(-50%,-15px);
|
466
|
+
|
467
|
+
}
|
468
|
+
|
469
|
+
&:nth-child(2) {
|
470
|
+
|
471
|
+
/* top: 0;
|
472
|
+
|
473
|
+
bottom: 0;
|
474
|
+
|
475
|
+
margin: auto; */
|
476
|
+
|
477
|
+
}
|
478
|
+
|
479
|
+
&:last-child {
|
480
|
+
|
481
|
+
transform: translate(-50%,15px);
|
482
|
+
|
483
|
+
}
|
484
|
+
|
485
|
+
//js-open
|
486
|
+
|
487
|
+
&._open{
|
488
|
+
|
489
|
+
&:first-child {
|
490
|
+
|
491
|
+
display: block;
|
492
|
+
|
493
|
+
transform: rotate(45deg) translate(-50%,-15px) ;
|
494
|
+
|
495
|
+
transform-origin: left;
|
496
|
+
|
497
|
+
}
|
498
|
+
|
499
|
+
&:nth-child(2){
|
500
|
+
|
501
|
+
&._open{
|
502
|
+
|
503
|
+
opacity: 0;
|
504
|
+
|
505
|
+
}
|
506
|
+
|
507
|
+
}
|
508
|
+
|
509
|
+
|
510
|
+
|
511
|
+
&:last-child {
|
512
|
+
|
513
|
+
transform: rotate(45deg) translate(-50%,15px) ;
|
514
|
+
|
515
|
+
transform-origin: left;
|
516
|
+
|
517
|
+
}
|
518
|
+
|
519
|
+
}
|
520
|
+
|
521
|
+
}
|
522
|
+
|
523
|
+
}
|
524
|
+
|
525
|
+
}
|
526
|
+
|
527
|
+
}
|
404
528
|
|
405
529
|
```
|
406
530
|
|
407
|
-
```SCSS
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
.humburger{
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
@include mt{
|
416
|
-
|
417
|
-
display: block;
|
418
|
-
|
419
|
-
height: 80px;
|
420
|
-
|
421
|
-
width: 80px;
|
422
|
-
|
423
|
-
position: fixed;
|
424
|
-
|
425
|
-
top: 0%;
|
426
|
-
|
427
|
-
right: 0px
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
@include mt{
|
432
|
-
|
433
|
-
.line {
|
434
|
-
|
435
|
-
display: block;
|
436
|
-
|
437
|
-
height: 1px;
|
438
|
-
|
439
|
-
width: 60%;
|
440
|
-
|
441
|
-
background-color: #333;
|
442
|
-
|
443
|
-
position: absolute;
|
444
|
-
|
445
|
-
top: 50%;
|
446
|
-
|
447
|
-
left: 50%;
|
448
|
-
|
449
|
-
transform: translate(-50%,-50%);
|
450
|
-
|
451
|
-
transition: .3s;
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
&:first-child {
|
456
|
-
|
457
|
-
display: block;
|
458
|
-
|
459
|
-
transform: translate(-50%,-15px);
|
460
|
-
|
461
|
-
}
|
462
|
-
|
463
|
-
&:nth-child(2) {
|
464
|
-
|
465
|
-
/* top: 0;
|
466
|
-
|
467
|
-
bottom: 0;
|
468
|
-
|
469
|
-
margin: auto; */
|
470
|
-
|
471
|
-
}
|
472
|
-
|
473
|
-
&:last-child {
|
474
|
-
|
475
|
-
transform: translate(-50%,15px);
|
476
|
-
|
477
|
-
}
|
478
|
-
|
479
|
-
//js-open
|
480
|
-
|
481
|
-
&._open{
|
482
|
-
|
483
|
-
&:first-child {
|
484
|
-
|
485
|
-
display: block;
|
486
|
-
|
487
|
-
transform: rotate(45deg) translate(-50%,-15px) ;
|
488
|
-
|
489
|
-
transform-origin: left;
|
490
|
-
|
491
|
-
}
|
492
|
-
|
493
|
-
&:nth-child(2){
|
494
|
-
|
495
|
-
&._open{
|
496
|
-
|
497
|
-
opacity: 0;
|
498
|
-
|
499
|
-
}
|
500
|
-
|
501
|
-
}
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
&:last-child {
|
506
|
-
|
507
|
-
transform: rotate(45deg) translate(-50%,15px) ;
|
508
|
-
|
509
|
-
transform-origin: left;
|
510
|
-
|
511
|
-
}
|
512
|
-
|
513
|
-
}
|
514
|
-
|
515
|
-
}
|
516
|
-
|
517
|
-
}
|
518
|
-
|
519
|
-
}
|
520
|
-
|
521
|
-
}
|
522
|
-
|
523
|
-
```
|
524
|
-
|
525
531
|
|
526
532
|
|
527
533
|
|
1
修正いたしました
test
CHANGED
File without changes
|
test
CHANGED
@@ -14,6 +14,8 @@
|
|
14
14
|
|
15
15
|
|
16
16
|
|
17
|
+
|
18
|
+
|
17
19
|
### 発生している問題・エラーメッセージ
|
18
20
|
|
19
21
|
|
@@ -32,7 +34,53 @@
|
|
32
34
|
|
33
35
|
```HTML
|
34
36
|
|
37
|
+
<!DOCTYPE html>
|
38
|
+
|
39
|
+
<html lang="en">
|
40
|
+
|
41
|
+
<head>
|
42
|
+
|
43
|
+
<meta charset="UTF-8">
|
44
|
+
|
45
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
46
|
+
|
47
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
48
|
+
|
49
|
+
<meta name="robots" content="noindex">
|
50
|
+
|
51
|
+
<title>しょーご中級編</title>
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
<!-- Google Fonts -->
|
56
|
+
|
57
|
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
58
|
+
|
59
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
60
|
+
|
61
|
+
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100&display=swap" rel="stylesheet">
|
62
|
+
|
63
|
+
<!---->
|
64
|
+
|
65
|
+
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css"/>
|
66
|
+
|
67
|
+
<link rel="stylesheet" href="./CSS/destyle.css">
|
68
|
+
|
69
|
+
<link rel="stylesheet" href="CSS/slick.css">
|
70
|
+
|
71
|
+
<link rel="stylesheet" href="css/slick-theme.css">
|
72
|
+
|
73
|
+
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
|
74
|
+
|
75
|
+
<link rel="stylesheet" href="./CSS/style.css">
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
</head>
|
80
|
+
|
81
|
+
<body>
|
82
|
+
|
35
|
-
<header class="header">
|
83
|
+
<header class="header">
|
36
84
|
|
37
85
|
<div class="inner header-inner">
|
38
86
|
|
@@ -76,10 +124,286 @@
|
|
76
124
|
|
77
125
|
</div><!-- /.inner -->
|
78
126
|
|
127
|
+
<!-- <div class="hum-li_js">
|
128
|
+
|
129
|
+
<div class="hum-li_white">
|
130
|
+
|
131
|
+
<ul class="menu-list">
|
132
|
+
|
133
|
+
<li class="menu-item"> <a href="#feauture"></a> 特徴</li>
|
134
|
+
|
135
|
+
<li class="menu-item"> <a href="#price"></a> 価格</li>
|
136
|
+
|
137
|
+
<li class="menu-item"> <a href="#contact"></a> 問い合わせ</li>
|
138
|
+
|
139
|
+
</ul><!-- /.menu-list -->
|
140
|
+
|
141
|
+
</div><!-- /.hum-li_white -->
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
</div><!-- /.hum-li_js -->
|
146
|
+
|
79
|
-
</header><!-- /.header -->
|
147
|
+
</header><!-- /.header -->
|
148
|
+
|
149
|
+
<script type="text/javascript" src="js/jquery-3.6.0.min.js"></script>
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
<script type="text/javascript" src="js/slick.min.js"></script>
|
154
|
+
|
155
|
+
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
|
156
|
+
|
157
|
+
<script type="text/javascript" src="js/script.js"></script>
|
158
|
+
|
159
|
+
</body>
|
160
|
+
|
161
|
+
</html>
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
```CSS
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
.header {
|
170
|
+
|
171
|
+
background-color: #FFFFFF;
|
172
|
+
|
173
|
+
height: 94px;
|
174
|
+
|
175
|
+
position: fixed;
|
176
|
+
|
177
|
+
top: 0;
|
178
|
+
|
179
|
+
z-index: 9999;
|
180
|
+
|
181
|
+
width: 100%;
|
182
|
+
|
183
|
+
-webkit-box-shadow: 0px 3px 6px #00000029;
|
184
|
+
|
185
|
+
box-shadow: 0px 3px 6px #00000029;
|
186
|
+
|
187
|
+
}
|
188
|
+
|
189
|
+
|
190
|
+
|
191
|
+
.header .header-inner {
|
192
|
+
|
193
|
+
width: 1022px;
|
194
|
+
|
195
|
+
margin: 0 auto;
|
196
|
+
|
197
|
+
padding: 0 20px;
|
198
|
+
|
199
|
+
display: -webkit-box;
|
200
|
+
|
201
|
+
display: -ms-flexbox;
|
202
|
+
|
203
|
+
display: flex;
|
204
|
+
|
205
|
+
-webkit-box-align: center;
|
206
|
+
|
207
|
+
-ms-flex-align: center;
|
208
|
+
|
209
|
+
align-items: center;
|
210
|
+
|
211
|
+
-webkit-box-pack: justify;
|
212
|
+
|
213
|
+
-ms-flex-pack: justify;
|
214
|
+
|
215
|
+
justify-content: space-between;
|
216
|
+
|
217
|
+
height: 100%;
|
218
|
+
|
219
|
+
}
|
220
|
+
|
221
|
+
|
222
|
+
|
223
|
+
.header .header-inner .header-ttl {
|
224
|
+
|
225
|
+
display: -webkit-box;
|
226
|
+
|
227
|
+
display: -ms-flexbox;
|
228
|
+
|
229
|
+
display: flex;
|
230
|
+
|
231
|
+
-webkit-box-align: center;
|
232
|
+
|
233
|
+
-ms-flex-align: center;
|
234
|
+
|
235
|
+
align-items: center;
|
236
|
+
|
237
|
+
}
|
238
|
+
|
239
|
+
|
240
|
+
|
241
|
+
.header .header-inner .header-ttl .img-logo {
|
242
|
+
|
243
|
+
width: 55px;
|
244
|
+
|
245
|
+
height: 55px;
|
246
|
+
|
247
|
+
}
|
248
|
+
|
249
|
+
|
250
|
+
|
251
|
+
.header .header-inner .header-ttl .logo-text {
|
252
|
+
|
253
|
+
display: block;
|
254
|
+
|
255
|
+
font-size: 2.4rem;
|
256
|
+
|
257
|
+
font-weight: bold;
|
258
|
+
|
259
|
+
margin-left: 16px;
|
260
|
+
|
261
|
+
}
|
262
|
+
|
263
|
+
|
264
|
+
|
265
|
+
.header .header-inner .humburger__line {
|
266
|
+
|
267
|
+
display: none;
|
268
|
+
|
269
|
+
}
|
270
|
+
|
271
|
+
|
272
|
+
|
273
|
+
@media print, screen and (max-width: 1024px) {
|
274
|
+
|
275
|
+
.header .header-inner .humburger__line {
|
276
|
+
|
277
|
+
position: absolute;
|
278
|
+
|
279
|
+
top: 0;
|
280
|
+
|
281
|
+
right: 0;
|
282
|
+
|
283
|
+
bottom: 0;
|
284
|
+
|
285
|
+
left: 0;
|
286
|
+
|
287
|
+
margin: auto;
|
288
|
+
|
289
|
+
width: 18px;
|
290
|
+
|
291
|
+
height: 2px;
|
292
|
+
|
293
|
+
background-color: #333;
|
294
|
+
|
295
|
+
-webkit-transition: inherit;
|
296
|
+
|
297
|
+
transition: inherit;
|
298
|
+
|
299
|
+
}
|
300
|
+
|
301
|
+
.header .header-inner .humburger__line ::before {
|
302
|
+
|
303
|
+
top: -5px;
|
304
|
+
|
305
|
+
}
|
306
|
+
|
307
|
+
.header .header-inner .humburger__line ::after {
|
308
|
+
|
309
|
+
top: 5px;
|
310
|
+
|
311
|
+
}
|
312
|
+
|
313
|
+
}
|
314
|
+
|
315
|
+
|
316
|
+
|
317
|
+
.header .header-inner .nav .header-list {
|
318
|
+
|
319
|
+
display: -webkit-box;
|
320
|
+
|
321
|
+
display: -ms-flexbox;
|
322
|
+
|
323
|
+
display: flex;
|
324
|
+
|
325
|
+
-webkit-box-pack: justify;
|
326
|
+
|
327
|
+
-ms-flex-pack: justify;
|
328
|
+
|
329
|
+
justify-content: space-between;
|
330
|
+
|
331
|
+
-webkit-box-align: center;
|
332
|
+
|
333
|
+
-ms-flex-align: center;
|
334
|
+
|
335
|
+
align-items: center;
|
336
|
+
|
337
|
+
}
|
338
|
+
|
339
|
+
|
340
|
+
|
341
|
+
.header .header-inner .nav .header-list .header-item > a {
|
342
|
+
|
343
|
+
font-weight: bold;
|
344
|
+
|
345
|
+
}
|
346
|
+
|
347
|
+
|
348
|
+
|
349
|
+
.header .header-inner .nav .header-list .header-item + .header-item {
|
350
|
+
|
351
|
+
padding-left: 46px;
|
352
|
+
|
353
|
+
}
|
354
|
+
|
355
|
+
|
356
|
+
|
357
|
+
.header .header-inner .nav .header-link {
|
358
|
+
|
359
|
+
width: 155px;
|
360
|
+
|
361
|
+
height: 37px;
|
362
|
+
|
363
|
+
}
|
364
|
+
|
365
|
+
|
366
|
+
|
367
|
+
.header .header-inner .nav .header-link > a {
|
368
|
+
|
369
|
+
color: #fff;
|
370
|
+
|
371
|
+
font-size: 1.4rem;
|
372
|
+
|
373
|
+
text-align: center;
|
374
|
+
|
375
|
+
}
|
80
376
|
|
81
377
|
```
|
82
378
|
|
379
|
+
```
|
380
|
+
|
381
|
+
```js
|
382
|
+
|
383
|
+
$(function(){
|
384
|
+
|
385
|
+
$("#js-humburger").on('click', function(){
|
386
|
+
|
387
|
+
|
388
|
+
|
389
|
+
$(".this").fadeToggle(300);
|
390
|
+
|
391
|
+
$(this, ".line").toggleClass("_open");
|
392
|
+
|
393
|
+
$(".header-list").toggleClass("_active");
|
394
|
+
|
395
|
+
$("body").toggleClass("noscroll");
|
396
|
+
|
397
|
+
|
398
|
+
|
399
|
+
});
|
400
|
+
|
401
|
+
|
402
|
+
|
403
|
+
});
|
404
|
+
|
405
|
+
```
|
406
|
+
|
83
407
|
```SCSS
|
84
408
|
|
85
409
|
|
@@ -198,249 +522,9 @@
|
|
198
522
|
|
199
523
|
```
|
200
524
|
|
201
|
-
|
525
|
+
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
526
|
+
|
206
|
-
|
207
|
-
|
527
|
+
|
208
|
-
|
209
|
-
height: 94px;
|
210
|
-
|
211
|
-
position: fixed;
|
212
|
-
|
213
|
-
top: 0;
|
214
|
-
|
215
|
-
z-index: 9999;
|
216
|
-
|
217
|
-
width: 100%;
|
218
|
-
|
219
|
-
-webkit-box-shadow: 0px 3px 6px #00000029;
|
220
|
-
|
221
|
-
box-shadow: 0px 3px 6px #00000029;
|
222
|
-
|
223
|
-
}
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
.header .header-inner {
|
228
|
-
|
229
|
-
width: 1022px;
|
230
|
-
|
231
|
-
margin: 0 auto;
|
232
|
-
|
233
|
-
padding: 0 20px;
|
234
|
-
|
235
|
-
display: -webkit-box;
|
236
|
-
|
237
|
-
display: -ms-flexbox;
|
238
|
-
|
239
|
-
display: flex;
|
240
|
-
|
241
|
-
-webkit-box-align: center;
|
242
|
-
|
243
|
-
-ms-flex-align: center;
|
244
|
-
|
245
|
-
align-items: center;
|
246
|
-
|
247
|
-
-webkit-box-pack: justify;
|
248
|
-
|
249
|
-
-ms-flex-pack: justify;
|
250
|
-
|
251
|
-
justify-content: space-between;
|
252
|
-
|
253
|
-
height: 100%;
|
254
|
-
|
255
|
-
}
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
.header .header-inner .header-ttl {
|
260
|
-
|
261
|
-
display: -webkit-box;
|
262
|
-
|
263
|
-
display: -ms-flexbox;
|
264
|
-
|
265
|
-
display: flex;
|
266
|
-
|
267
|
-
-webkit-box-align: center;
|
268
|
-
|
269
|
-
-ms-flex-align: center;
|
270
|
-
|
271
|
-
align-items: center;
|
272
|
-
|
273
|
-
}
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
.header .header-inner .header-ttl .img-logo {
|
278
|
-
|
279
|
-
width: 55px;
|
280
|
-
|
281
|
-
height: 55px;
|
282
|
-
|
283
|
-
}
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
.header .header-inner .header-ttl .logo-text {
|
288
|
-
|
289
|
-
display: block;
|
290
|
-
|
291
|
-
font-size: 2.4rem;
|
292
|
-
|
293
|
-
font-weight: bold;
|
294
|
-
|
295
|
-
margin-left: 16px;
|
296
|
-
|
297
|
-
}
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
.header .header-inner .humburger__line {
|
302
|
-
|
303
|
-
display: none;
|
304
|
-
|
305
|
-
}
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
@media print, screen and (max-width: 1024px) {
|
310
|
-
|
311
|
-
.header .header-inner .humburger__line {
|
312
|
-
|
313
|
-
position: absolute;
|
314
|
-
|
315
|
-
top: 0;
|
316
|
-
|
317
|
-
right: 0;
|
318
|
-
|
319
|
-
bottom: 0;
|
320
|
-
|
321
|
-
left: 0;
|
322
|
-
|
323
|
-
margin: auto;
|
324
|
-
|
325
|
-
width: 18px;
|
326
|
-
|
327
|
-
height: 2px;
|
328
|
-
|
329
|
-
background-color: #333;
|
330
|
-
|
331
|
-
-webkit-transition: inherit;
|
332
|
-
|
333
|
-
transition: inherit;
|
334
|
-
|
335
|
-
}
|
336
|
-
|
337
|
-
.header .header-inner .humburger__line ::before {
|
338
|
-
|
339
|
-
top: -5px;
|
340
|
-
|
341
|
-
}
|
342
|
-
|
343
|
-
.header .header-inner .humburger__line ::after {
|
344
|
-
|
345
|
-
top: 5px;
|
346
|
-
|
347
|
-
}
|
348
|
-
|
349
|
-
}
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
.header .header-inner .nav .header-list {
|
354
|
-
|
355
|
-
display: -webkit-box;
|
356
|
-
|
357
|
-
display: -ms-flexbox;
|
358
|
-
|
359
|
-
display: flex;
|
360
|
-
|
361
|
-
-webkit-box-pack: justify;
|
362
|
-
|
363
|
-
-ms-flex-pack: justify;
|
364
|
-
|
365
|
-
justify-content: space-between;
|
366
|
-
|
367
|
-
-webkit-box-align: center;
|
368
|
-
|
369
|
-
-ms-flex-align: center;
|
370
|
-
|
371
|
-
align-items: center;
|
372
|
-
|
373
|
-
}
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
.header .header-inner .nav .header-list .header-item > a {
|
378
|
-
|
379
|
-
font-weight: bold;
|
380
|
-
|
381
|
-
}
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
.header .header-inner .nav .header-list .header-item + .header-item {
|
386
|
-
|
387
|
-
padding-left: 46px;
|
388
|
-
|
389
|
-
}
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
.header .header-inner .nav .header-link {
|
394
|
-
|
395
|
-
width: 155px;
|
396
|
-
|
397
|
-
height: 37px;
|
398
|
-
|
399
|
-
}
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
.header .header-inner .nav .header-link > a {
|
404
|
-
|
405
|
-
color: #fff;
|
406
|
-
|
407
|
-
font-size: 1.4rem;
|
408
|
-
|
409
|
-
text-align: center;
|
410
|
-
|
411
|
-
}
|
412
|
-
|
413
|
-
```
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
```js
|
420
|
-
|
421
|
-
$(function(){
|
422
|
-
|
423
|
-
$("#js-humburger").on('click', function(){
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
$(".this").fadeToggle(300);
|
428
|
-
|
429
|
-
$(this, ".line").toggleClass("_open");
|
430
|
-
|
431
|
-
$(".header-list").toggleClass("_active");
|
432
|
-
|
433
|
-
$("body").toggleClass("noscroll");
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
});
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
});
|
442
|
-
|
443
|
-
```
|
444
528
|
|
445
529
|
### 試したこと
|
446
530
|
|