質問編集履歴

2

ソース不要と思われる部分を削除しました

2018/04/21 07:42

投稿

us5
us5

スコア6

test CHANGED
File without changes
test CHANGED
@@ -54,18 +54,6 @@
54
54
 
55
55
 
56
56
 
57
- body {
58
-
59
- color: #000;
60
-
61
- font: 15px/1.7 "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "メイリオ", Meiryo, "MS Pゴシック", sans-serif;
62
-
63
- background-color: #f5f5f5;
64
-
65
- text-align: left;
66
-
67
- }
68
-
69
57
 
70
58
 
71
59
  ol, ul {
@@ -92,6 +80,10 @@
92
80
 
93
81
  */
94
82
 
83
+
84
+
85
+
86
+
95
87
  .wrapper {
96
88
 
97
89
  width: 100%;
@@ -108,6 +100,8 @@
108
100
 
109
101
 
110
102
 
103
+
104
+
111
105
  .contents {
112
106
 
113
107
  width: 100%;
@@ -118,15 +112,51 @@
118
112
 
119
113
 
120
114
 
115
+
116
+
117
+
118
+
119
+ /**
120
+
121
+ * menu
122
+
123
+ */
124
+
121
- .contents__inner {
125
+ .menu {
122
-
126
+
123
- box-sizing: border-box;
127
+ position: relative;
124
128
 
125
129
  width: 100%;
126
130
 
131
+ height: 50px;
132
+
133
+ max-width: 1000px;
134
+
127
135
  margin: 0 auto;
128
136
 
137
+ }
138
+
139
+
140
+
141
+ .menu > li {
142
+
143
+ float: left;
144
+
145
+ width: 25%;
146
+
129
- padding: 50px 24px;
147
+ height: 50px;
148
+
149
+ line-height: 50px;
150
+
151
+ background: rgb(29, 33, 19);
152
+
153
+ }
154
+
155
+
156
+
157
+ .menu > li a {
158
+
159
+ display: block;
130
160
 
131
161
  color: #fff;
132
162
 
@@ -134,15 +164,57 @@
134
164
 
135
165
 
136
166
 
137
- .contents__inner h1 {
167
+ .menu > li a:hover {
138
-
139
- margin-bottom: 30px;
168
+
140
-
141
- font-size: 20px;
169
+ color: #999;
142
-
143
- font-weight: bold;
170
+
144
-
145
- }
171
+ }
172
+
173
+
174
+
175
+
176
+
177
+ .menu__mega:hover,
178
+
179
+ background: #072A24;
180
+
181
+ -webkit-transition: .2s ease;
182
+
183
+ transition: .2s ease;
184
+
185
+ }
186
+
187
+
188
+
189
+
190
+
191
+ .menu:before,
192
+
193
+ .menu:after {
194
+
195
+ content: "";
196
+
197
+ display: table;
198
+
199
+ }
200
+
201
+
202
+
203
+ .menu:after {
204
+
205
+ clear: both;
206
+
207
+ }
208
+
209
+
210
+
211
+ .menu {
212
+
213
+ *zoom: 1;
214
+
215
+ }
216
+
217
+
146
218
 
147
219
 
148
220
 
@@ -150,283 +222,41 @@
150
222
 
151
223
  /**
152
224
 
153
- * btn
225
+ * mega menu
154
226
 
155
227
  */
156
228
 
157
- .btn__box {
158
-
159
- width: 250px;
160
-
161
- height: 50px;
162
-
163
- line-height: 50px;
164
-
165
- margin: 100px auto 0;
166
-
167
- font-size: 13px;
168
-
169
- }
170
-
171
-
172
-
173
- .btn__box a {
174
-
175
- position: relative;
176
-
177
- display: block;
178
-
179
- color: #666;
180
-
181
- background: #fff;
182
-
183
- }
184
-
185
-
186
-
187
- .btn__box a:before {
229
+ .menu__mega .menu__second-level {
188
-
189
- content: '';
230
+
190
-
191
- position: absolute;
231
+ position: absolute;
192
-
232
+
193
- top: -5px;
233
+ top: 40px;
194
-
234
+
195
- left: -5px;
235
+ left: 0;
196
-
236
+
197
- box-sizing: border-box;
237
+ box-sizing: border-box;
198
-
199
- width: 250px;
238
+
200
-
201
- height: 50px;
202
-
203
- border: 1px solid #666;
204
-
205
- -webkit-transition: all .5s ease;
206
-
207
- transition: all .5s ease;
208
-
209
- }
210
-
211
-
212
-
213
- .btn__box a:hover:before {
214
-
215
- -webkit-transform: translate(10px, 10px);
216
-
217
- transform: translate(10px, 10px);
218
-
219
- }
220
-
221
-
222
-
223
-
224
-
225
- /**
226
-
227
- * menu
228
-
229
- */
230
-
231
- .menu {
232
-
233
- position: relative;
234
-
235
- width: 100%;
239
+ width: 100%;
236
-
237
- height: 50px;
240
+
238
-
239
- max-width: 1000px;
240
-
241
- margin: 0 auto;
241
+ padding: 20px 2%;
242
-
243
- }
244
-
245
-
246
-
247
- .menu > li {
248
-
249
- float: left;
250
-
251
- width: 25%;
252
-
253
- height: 50px;
254
-
255
- line-height: 50px;
256
-
257
- background: rgb(29, 33, 19);
258
-
259
- }
260
-
261
-
262
-
263
- .menu > li a {
264
-
265
- display: block;
266
-
267
- color: #fff;
268
-
269
- }
270
-
271
-
272
-
273
- .menu > li a:hover {
274
-
275
- color: #999;
276
-
277
- }
278
-
279
-
280
-
281
- .menu__none:hover,
282
-
283
- .menu__multi:hover,
284
-
285
- .menu__mega:hover,
286
-
287
- .menu__single:hover {
288
242
 
289
243
  background: #072A24;
290
244
 
291
- -webkit-transition: .2s ease;
245
+ -webkit-transition: all .2s ease;
292
-
246
+
293
- transition: .2s ease;
247
+ transition: all .2s ease;
294
-
295
- }
296
-
297
-
298
-
299
- .menu__second-level li {
300
-
301
- border-top: 1px solid #111;
302
-
303
- }
304
-
305
-
306
-
307
- .menu__third-level li {
308
-
309
- border-top: 1px solid #111;
310
-
311
- }
312
-
313
-
314
-
315
- .menu__second-level li a:hover {
316
-
317
- background: #111;
318
-
319
- }
320
-
321
-
322
-
323
- .menu__third-level li a:hover {
324
-
325
- background: #2a1f1f;
326
-
327
- }
328
-
329
-
330
-
331
- .menu__fourth-level li a:hover {
332
-
333
- background: #1d0f0f;
334
-
335
- }
336
-
337
-
338
-
339
- .init-bottom:after {
340
-
341
- content: '';
342
-
343
- display: inline-block;
344
-
345
- width: 6px;
346
-
347
- height: 6px;
348
-
349
- margin: 0 0 0 15px;
350
-
351
- border-right: 1px solid #fff;
352
-
353
- border-bottom: 1px solid #fff;
354
-
355
- -webkit-transform: rotate(45deg);
356
-
357
- transform: rotate(45deg);
358
-
359
- }
360
-
361
-
362
-
363
- .menu:before,
364
-
365
- .menu:after {
366
-
367
- content: "";
368
-
369
- display: table;
370
-
371
- }
372
-
373
-
374
-
375
- .menu:after {
376
-
377
- clear: both;
378
-
379
- }
380
-
381
-
382
-
383
- .menu {
384
-
385
- *zoom: 1;
386
-
387
- }
388
-
389
-
390
-
391
-
392
-
393
- /**
394
-
395
- * single menu
396
-
397
- */
398
-
399
- .menu > .menu__single {
400
-
401
- position: relative;
402
-
403
- }
404
-
405
-
406
-
407
- .menu__single .menu__second-level {
408
-
409
- position: absolute;
410
-
411
- top: 40px;
412
-
413
- width: 100%;
414
-
415
- background: #072A24;
416
-
417
- -webkit-transition: .2s ease;
418
-
419
- transition: .2s ease;
420
248
 
421
249
  visibility: hidden;
422
250
 
423
251
  opacity: 0;
424
252
 
253
+ z-index: 1;
254
+
425
- }
255
+ }
426
-
427
-
428
-
256
+
257
+
258
+
429
- .menu__single:hover > .menu__second-level {
259
+ .menu__mega:hover .menu__second-level {
430
260
 
431
261
  top: 50px;
432
262
 
@@ -438,232 +268,6 @@
438
268
 
439
269
 
440
270
 
441
-
442
-
443
- /**
444
-
445
- * multi menu
446
-
447
- */
448
-
449
- .menu > .menu__multi {
450
-
451
- position: relative;
452
-
453
- }
454
-
455
-
456
-
457
- .menu__multi .menu__second-level {
458
-
459
- position: absolute;
460
-
461
- top: 40px;
462
-
463
- width: 100%;
464
-
465
- background: #072A24;
466
-
467
- -webkit-transition: all .2s ease;
468
-
469
- transition: all .2s ease;
470
-
471
- visibility: hidden;
472
-
473
- opacity: 0;
474
-
475
- z-index: 1;
476
-
477
- }
478
-
479
-
480
-
481
- .menu__multi:hover .menu__second-level {
482
-
483
- top: 50px;
484
-
485
- visibility: visible;
486
-
487
- opacity: 1;
488
-
489
- }
490
-
491
-
492
-
493
- .menu__multi .menu__second-level li {
494
-
495
- position: relative;
496
-
497
- }
498
-
499
-
500
-
501
- .menu__multi .menu__second-level li:hover {
502
-
503
- background: #111;
504
-
505
- }
506
-
507
-
508
-
509
- .menu__multi .menu__second-level li .menu__third-level {
510
-
511
- position: absolute;
512
-
513
- top: -1px;
514
-
515
- left: 100%;
516
-
517
- width: 100%;
518
-
519
- background: #111;
520
-
521
- -webkit-transition: all .2s ease;
522
-
523
- transition: all .2s ease;
524
-
525
- visibility: hidden;
526
-
527
- opacity: 0;
528
-
529
- }
530
-
531
-
532
-
533
- .menu__multi .menu__second-level li:hover .menu__third-level {
534
-
535
- visibility: visible;
536
-
537
- opacity: 1;
538
-
539
- }
540
-
541
-
542
-
543
- .menu__multi .menu__second-level li .menu__third-level li {
544
-
545
- position: relative;
546
-
547
- }
548
-
549
-
550
-
551
- .menu__multi .menu__second-level li .menu__third-level li:hover {
552
-
553
- background: #2a1f1f;
554
-
555
- }
556
-
557
-
558
-
559
- .menu__multi .menu__second-level li .menu__third-level li .menu__fourth-level {
560
-
561
- position: absolute;
562
-
563
- top: -1px;
564
-
565
- left: 100%;
566
-
567
- width: 100%;
568
-
569
- background: #2a1f1f;
570
-
571
- -webkit-transition: all .2s ease;
572
-
573
- transition: all .2s ease;
574
-
575
- visibility: hidden;
576
-
577
- opacity: 0;
578
-
579
- }
580
-
581
-
582
-
583
- .menu__multi .menu__second-level li .menu__third-level li:hover .menu__fourth-level {
584
-
585
- visibility: visible;
586
-
587
- opacity: 1;
588
-
589
- }
590
-
591
-
592
-
593
- .init-right:after {
594
-
595
- content: '';
596
-
597
- display: inline-block;
598
-
599
- width: 6px;
600
-
601
- height: 6px;
602
-
603
- margin: 0 0 0 15px;
604
-
605
- border-right: 1px solid #fff;
606
-
607
- border-top: 1px solid #fff;
608
-
609
- -webkit-transform: rotate(45deg);
610
-
611
- transform: rotate(45deg);
612
-
613
- }
614
-
615
-
616
-
617
-
618
-
619
- /**
620
-
621
- * mega menu
622
-
623
- */
624
-
625
- .menu__mega .menu__second-level {
626
-
627
- position: absolute;
628
-
629
- top: 40px;
630
-
631
- left: 0;
632
-
633
- box-sizing: border-box;
634
-
635
- width: 100%;
636
-
637
- padding: 20px 2%;
638
-
639
- background: #072A24;
640
-
641
- -webkit-transition: all .2s ease;
642
-
643
- transition: all .2s ease;
644
-
645
- visibility: hidden;
646
-
647
- opacity: 0;
648
-
649
- z-index: 1;
650
-
651
- }
652
-
653
-
654
-
655
- .menu__mega:hover .menu__second-level {
656
-
657
- top: 50px;
658
-
659
- visibility: visible;
660
-
661
- opacity: 1;
662
-
663
- }
664
-
665
-
666
-
667
271
  .menu__mega .menu__second-level > li {
668
272
 
669
273
  float: left;
@@ -682,6 +286,8 @@
682
286
 
683
287
  }
684
288
 
289
+
290
+
685
291
  </style>
686
292
 
687
293
 

1

ソースを記載

2018/04/21 07:42

投稿

us5
us5

スコア6

test CHANGED
File without changes
test CHANGED
@@ -1,12 +1,710 @@
1
+ <style>
2
+
3
+ @charset "UTF-8";
4
+
5
+
6
+
7
+ /**
8
+
9
+ * reset
10
+
11
+ */
12
+
13
+ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
14
+
15
+ a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp,
16
+
17
+ small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li,
18
+
19
+ fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
20
+
21
+ article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup,
22
+
23
+ menu, nav, output, ruby, section, summary, time, mark, audio, video, main {
24
+
25
+ margin: 0;
26
+
27
+ padding: 0;
28
+
29
+ border: 0;
30
+
31
+ outline: 0;
32
+
33
+ font-size: 100%;
34
+
35
+ font-weight: normal;
36
+
37
+ font-style: normal;
38
+
39
+ vertical-align: baseline;
40
+
41
+ background: transparent;
42
+
43
+ }
44
+
45
+
46
+
47
+ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, main {
48
+
49
+ display: block;
50
+
51
+ margin: 0;
52
+
53
+ }
54
+
55
+
56
+
57
+ body {
58
+
59
+ color: #000;
60
+
61
+ font: 15px/1.7 "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "メイリオ", Meiryo, "MS Pゴシック", sans-serif;
62
+
63
+ background-color: #f5f5f5;
64
+
65
+ text-align: left;
66
+
67
+ }
68
+
69
+
70
+
71
+ ol, ul {
72
+
73
+ list-style: none;
74
+
75
+ }
76
+
77
+
78
+
79
+ a {
80
+
81
+ text-decoration: none;
82
+
83
+ }
84
+
85
+
86
+
87
+
88
+
89
+ /**
90
+
91
+ * base
92
+
93
+ */
94
+
95
+ .wrapper {
96
+
97
+ width: 100%;
98
+
99
+ height: 100vh;
100
+
101
+ text-align: center;
102
+
103
+ font-size: 13px;
104
+
105
+ background: #BED6E6;
106
+
107
+ }
108
+
109
+
110
+
111
+ .contents {
112
+
113
+ width: 100%;
114
+
115
+ height: 100%;
116
+
117
+ }
118
+
119
+
120
+
121
+ .contents__inner {
122
+
123
+ box-sizing: border-box;
124
+
125
+ width: 100%;
126
+
127
+ margin: 0 auto;
128
+
129
+ padding: 50px 24px;
130
+
131
+ color: #fff;
132
+
133
+ }
134
+
135
+
136
+
137
+ .contents__inner h1 {
138
+
139
+ margin-bottom: 30px;
140
+
141
+ font-size: 20px;
142
+
143
+ font-weight: bold;
144
+
145
+ }
146
+
147
+
148
+
149
+
150
+
151
+ /**
152
+
153
+ * btn
154
+
155
+ */
156
+
157
+ .btn__box {
158
+
159
+ width: 250px;
160
+
161
+ height: 50px;
162
+
163
+ line-height: 50px;
164
+
165
+ margin: 100px auto 0;
166
+
167
+ font-size: 13px;
168
+
169
+ }
170
+
171
+
172
+
173
+ .btn__box a {
174
+
175
+ position: relative;
176
+
177
+ display: block;
178
+
179
+ color: #666;
180
+
181
+ background: #fff;
182
+
183
+ }
184
+
185
+
186
+
187
+ .btn__box a:before {
188
+
189
+ content: '';
190
+
191
+ position: absolute;
192
+
193
+ top: -5px;
194
+
195
+ left: -5px;
196
+
197
+ box-sizing: border-box;
198
+
199
+ width: 250px;
200
+
201
+ height: 50px;
202
+
203
+ border: 1px solid #666;
204
+
205
+ -webkit-transition: all .5s ease;
206
+
207
+ transition: all .5s ease;
208
+
209
+ }
210
+
211
+
212
+
213
+ .btn__box a:hover:before {
214
+
215
+ -webkit-transform: translate(10px, 10px);
216
+
217
+ transform: translate(10px, 10px);
218
+
219
+ }
220
+
221
+
222
+
223
+
224
+
225
+ /**
226
+
227
+ * menu
228
+
229
+ */
230
+
231
+ .menu {
232
+
233
+ position: relative;
234
+
235
+ width: 100%;
236
+
237
+ height: 50px;
238
+
239
+ max-width: 1000px;
240
+
241
+ margin: 0 auto;
242
+
243
+ }
244
+
245
+
246
+
247
+ .menu > li {
248
+
249
+ float: left;
250
+
251
+ width: 25%;
252
+
253
+ height: 50px;
254
+
255
+ line-height: 50px;
256
+
257
+ background: rgb(29, 33, 19);
258
+
259
+ }
260
+
261
+
262
+
263
+ .menu > li a {
264
+
265
+ display: block;
266
+
267
+ color: #fff;
268
+
269
+ }
270
+
271
+
272
+
273
+ .menu > li a:hover {
274
+
275
+ color: #999;
276
+
277
+ }
278
+
279
+
280
+
281
+ .menu__none:hover,
282
+
283
+ .menu__multi:hover,
284
+
285
+ .menu__mega:hover,
286
+
287
+ .menu__single:hover {
288
+
289
+ background: #072A24;
290
+
291
+ -webkit-transition: .2s ease;
292
+
293
+ transition: .2s ease;
294
+
295
+ }
296
+
297
+
298
+
299
+ .menu__second-level li {
300
+
301
+ border-top: 1px solid #111;
302
+
303
+ }
304
+
305
+
306
+
307
+ .menu__third-level li {
308
+
309
+ border-top: 1px solid #111;
310
+
311
+ }
312
+
313
+
314
+
315
+ .menu__second-level li a:hover {
316
+
317
+ background: #111;
318
+
319
+ }
320
+
321
+
322
+
323
+ .menu__third-level li a:hover {
324
+
325
+ background: #2a1f1f;
326
+
327
+ }
328
+
329
+
330
+
331
+ .menu__fourth-level li a:hover {
332
+
333
+ background: #1d0f0f;
334
+
335
+ }
336
+
337
+
338
+
339
+ .init-bottom:after {
340
+
341
+ content: '';
342
+
343
+ display: inline-block;
344
+
345
+ width: 6px;
346
+
347
+ height: 6px;
348
+
349
+ margin: 0 0 0 15px;
350
+
351
+ border-right: 1px solid #fff;
352
+
353
+ border-bottom: 1px solid #fff;
354
+
355
+ -webkit-transform: rotate(45deg);
356
+
357
+ transform: rotate(45deg);
358
+
359
+ }
360
+
361
+
362
+
363
+ .menu:before,
364
+
365
+ .menu:after {
366
+
367
+ content: "";
368
+
369
+ display: table;
370
+
371
+ }
372
+
373
+
374
+
375
+ .menu:after {
376
+
377
+ clear: both;
378
+
379
+ }
380
+
381
+
382
+
383
+ .menu {
384
+
385
+ *zoom: 1;
386
+
387
+ }
388
+
389
+
390
+
391
+
392
+
393
+ /**
394
+
395
+ * single menu
396
+
397
+ */
398
+
399
+ .menu > .menu__single {
400
+
401
+ position: relative;
402
+
403
+ }
404
+
405
+
406
+
407
+ .menu__single .menu__second-level {
408
+
409
+ position: absolute;
410
+
411
+ top: 40px;
412
+
413
+ width: 100%;
414
+
415
+ background: #072A24;
416
+
417
+ -webkit-transition: .2s ease;
418
+
419
+ transition: .2s ease;
420
+
421
+ visibility: hidden;
422
+
423
+ opacity: 0;
424
+
425
+ }
426
+
427
+
428
+
429
+ .menu__single:hover > .menu__second-level {
430
+
431
+ top: 50px;
432
+
433
+ visibility: visible;
434
+
435
+ opacity: 1;
436
+
437
+ }
438
+
439
+
440
+
441
+
442
+
443
+ /**
444
+
445
+ * multi menu
446
+
447
+ */
448
+
449
+ .menu > .menu__multi {
450
+
451
+ position: relative;
452
+
453
+ }
454
+
455
+
456
+
457
+ .menu__multi .menu__second-level {
458
+
459
+ position: absolute;
460
+
461
+ top: 40px;
462
+
463
+ width: 100%;
464
+
465
+ background: #072A24;
466
+
467
+ -webkit-transition: all .2s ease;
468
+
469
+ transition: all .2s ease;
470
+
471
+ visibility: hidden;
472
+
473
+ opacity: 0;
474
+
475
+ z-index: 1;
476
+
477
+ }
478
+
479
+
480
+
481
+ .menu__multi:hover .menu__second-level {
482
+
483
+ top: 50px;
484
+
485
+ visibility: visible;
486
+
487
+ opacity: 1;
488
+
489
+ }
490
+
491
+
492
+
493
+ .menu__multi .menu__second-level li {
494
+
495
+ position: relative;
496
+
497
+ }
498
+
499
+
500
+
501
+ .menu__multi .menu__second-level li:hover {
502
+
503
+ background: #111;
504
+
505
+ }
506
+
507
+
508
+
509
+ .menu__multi .menu__second-level li .menu__third-level {
510
+
511
+ position: absolute;
512
+
513
+ top: -1px;
514
+
515
+ left: 100%;
516
+
517
+ width: 100%;
518
+
519
+ background: #111;
520
+
521
+ -webkit-transition: all .2s ease;
522
+
523
+ transition: all .2s ease;
524
+
525
+ visibility: hidden;
526
+
527
+ opacity: 0;
528
+
529
+ }
530
+
531
+
532
+
533
+ .menu__multi .menu__second-level li:hover .menu__third-level {
534
+
535
+ visibility: visible;
536
+
537
+ opacity: 1;
538
+
539
+ }
540
+
541
+
542
+
543
+ .menu__multi .menu__second-level li .menu__third-level li {
544
+
545
+ position: relative;
546
+
547
+ }
548
+
549
+
550
+
551
+ .menu__multi .menu__second-level li .menu__third-level li:hover {
552
+
553
+ background: #2a1f1f;
554
+
555
+ }
556
+
557
+
558
+
559
+ .menu__multi .menu__second-level li .menu__third-level li .menu__fourth-level {
560
+
561
+ position: absolute;
562
+
563
+ top: -1px;
564
+
565
+ left: 100%;
566
+
567
+ width: 100%;
568
+
569
+ background: #2a1f1f;
570
+
571
+ -webkit-transition: all .2s ease;
572
+
573
+ transition: all .2s ease;
574
+
575
+ visibility: hidden;
576
+
577
+ opacity: 0;
578
+
579
+ }
580
+
581
+
582
+
583
+ .menu__multi .menu__second-level li .menu__third-level li:hover .menu__fourth-level {
584
+
585
+ visibility: visible;
586
+
587
+ opacity: 1;
588
+
589
+ }
590
+
591
+
592
+
593
+ .init-right:after {
594
+
595
+ content: '';
596
+
597
+ display: inline-block;
598
+
599
+ width: 6px;
600
+
601
+ height: 6px;
602
+
603
+ margin: 0 0 0 15px;
604
+
605
+ border-right: 1px solid #fff;
606
+
607
+ border-top: 1px solid #fff;
608
+
609
+ -webkit-transform: rotate(45deg);
610
+
611
+ transform: rotate(45deg);
612
+
613
+ }
614
+
615
+
616
+
617
+
618
+
619
+ /**
620
+
621
+ * mega menu
622
+
623
+ */
624
+
625
+ .menu__mega .menu__second-level {
626
+
627
+ position: absolute;
628
+
629
+ top: 40px;
630
+
631
+ left: 0;
632
+
633
+ box-sizing: border-box;
634
+
635
+ width: 100%;
636
+
637
+ padding: 20px 2%;
638
+
639
+ background: #072A24;
640
+
641
+ -webkit-transition: all .2s ease;
642
+
643
+ transition: all .2s ease;
644
+
645
+ visibility: hidden;
646
+
647
+ opacity: 0;
648
+
649
+ z-index: 1;
650
+
651
+ }
652
+
653
+
654
+
655
+ .menu__mega:hover .menu__second-level {
656
+
657
+ top: 50px;
658
+
659
+ visibility: visible;
660
+
661
+ opacity: 1;
662
+
663
+ }
664
+
665
+
666
+
667
+ .menu__mega .menu__second-level > li {
668
+
669
+ float: left;
670
+
671
+ width: 32%;
672
+
673
+ border: none;
674
+
675
+ }
676
+
677
+
678
+
679
+ .menu__mega .menu__second-level > li:nth-child(3n+2) {
680
+
681
+ margin: 0 1%;
682
+
683
+ }
684
+
685
+ </style>
686
+
687
+
688
+
689
+
690
+
691
+
692
+
693
+
694
+
1
695
  アイフォンでのif内のメニューの正常な動作
2
696
 
3
697
 
4
698
 
699
+ すみません修正させていただきました
700
+
701
+
702
+
5
- https://theorthodoxworks.com/demo/201502/demo-drop-down-menu-multi-css.html
703
+ [https://theorthodoxworks.com/demo/201502/demo-drop-down-menu-multi-css.html](https://theorthodoxworks.com/demo/201502/demo-drop-down-menu-multi-css.html)
6
-
704
+
7
- こちらのサイトのドロップダウンメニューを使用させていただこうと思ってるのですが
705
+ こちらのサイトのドロップダウンメニューをインラインフレーム内で使用させていただこうと思ってるのですが
8
-
706
+
9
- インラインフレームでスマートフォンのアイフォンでPC表示にした場合動作しないのですが
707
+ PCは正常に動作するのですがスマートフォンのアイフォンでPC表示にした場合動作しないのですが
10
708
 
11
709
  どのようにしたらよいのか教えていただきたいのですが宜しくお願い致します。
12
710