質問編集履歴
1
追記しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -381,3 +381,253 @@
|
|
381
381
|
}
|
382
382
|
|
383
383
|
```
|
384
|
+
|
385
|
+
|
386
|
+
|
387
|
+
### 追記
|
388
|
+
|
389
|
+
```CSS
|
390
|
+
|
391
|
+
|
392
|
+
|
393
|
+
@media screen and (min-width: 600px) and (max-width: 1179px) {
|
394
|
+
|
395
|
+
.example-list .example-item {
|
396
|
+
|
397
|
+
width: 30%;
|
398
|
+
|
399
|
+
}
|
400
|
+
|
401
|
+
}
|
402
|
+
|
403
|
+
|
404
|
+
|
405
|
+
@media screen and (max-width: 599px) {
|
406
|
+
|
407
|
+
.example-list .example-item {
|
408
|
+
|
409
|
+
padding: 0px 30px;
|
410
|
+
|
411
|
+
}
|
412
|
+
|
413
|
+
}
|
414
|
+
|
415
|
+
|
416
|
+
|
417
|
+
.example-list .example-item .ex-desc {
|
418
|
+
|
419
|
+
display: block;
|
420
|
+
|
421
|
+
color: #fff;
|
422
|
+
|
423
|
+
line-height: 1.81;
|
424
|
+
|
425
|
+
text-align: center;
|
426
|
+
|
427
|
+
}
|
428
|
+
|
429
|
+
|
430
|
+
|
431
|
+
@media screen and (max-width: 599px) {
|
432
|
+
|
433
|
+
.example-list .example-item .ex-desc {
|
434
|
+
|
435
|
+
padding: 10px;
|
436
|
+
|
437
|
+
}
|
438
|
+
|
439
|
+
}
|
440
|
+
|
441
|
+
|
442
|
+
|
443
|
+
@media screen and (max-width: 599px) {
|
444
|
+
|
445
|
+
.example-list .example-item .ex-desc br {
|
446
|
+
|
447
|
+
display: none;
|
448
|
+
|
449
|
+
}
|
450
|
+
|
451
|
+
}
|
452
|
+
|
453
|
+
|
454
|
+
|
455
|
+
.example-list .example-item .bg-white {
|
456
|
+
|
457
|
+
background-color: #fff;
|
458
|
+
|
459
|
+
width: 280px;
|
460
|
+
|
461
|
+
height: 170px;
|
462
|
+
|
463
|
+
margin: 0 auto;
|
464
|
+
|
465
|
+
}
|
466
|
+
|
467
|
+
|
468
|
+
|
469
|
+
.example-list .example-item .bg-white img {
|
470
|
+
|
471
|
+
display: block;
|
472
|
+
|
473
|
+
width: calc(125 / 280 *100%);
|
474
|
+
|
475
|
+
height: calc(140 /170 *100%);
|
476
|
+
|
477
|
+
padding-top: 31px;
|
478
|
+
|
479
|
+
margin: 0 auto;
|
480
|
+
|
481
|
+
}
|
482
|
+
|
483
|
+
|
484
|
+
|
485
|
+
.example-list .example-item .data-info {
|
486
|
+
|
487
|
+
display: -webkit-box;
|
488
|
+
|
489
|
+
display: -webkit-flex;
|
490
|
+
|
491
|
+
display: -ms-flexbox;
|
492
|
+
|
493
|
+
display: flex;
|
494
|
+
|
495
|
+
-webkit-box-pack: center;
|
496
|
+
|
497
|
+
-webkit-justify-content: center;
|
498
|
+
|
499
|
+
-ms-flex-pack: center;
|
500
|
+
|
501
|
+
justify-content: center;
|
502
|
+
|
503
|
+
-webkit-box-align: center;
|
504
|
+
|
505
|
+
-webkit-align-items: center;
|
506
|
+
|
507
|
+
-ms-flex-align: center;
|
508
|
+
|
509
|
+
align-items: center;
|
510
|
+
|
511
|
+
margin: 16px auto;
|
512
|
+
|
513
|
+
}
|
514
|
+
|
515
|
+
|
516
|
+
|
517
|
+
.example-list .example-item .data-info .info {
|
518
|
+
|
519
|
+
display: block;
|
520
|
+
|
521
|
+
width: 100px;
|
522
|
+
|
523
|
+
height: 30px;
|
524
|
+
|
525
|
+
background-color: #fff;
|
526
|
+
|
527
|
+
margin: 0px 4px;
|
528
|
+
|
529
|
+
text-align: left;
|
530
|
+
|
531
|
+
padding: 8px;
|
532
|
+
|
533
|
+
white-space: nowrap;
|
534
|
+
|
535
|
+
}
|
536
|
+
|
537
|
+
|
538
|
+
|
539
|
+
.example-list .example-item .data-info .info2 {
|
540
|
+
|
541
|
+
display: block;
|
542
|
+
|
543
|
+
width: 170px;
|
544
|
+
|
545
|
+
height: 30px;
|
546
|
+
|
547
|
+
background-color: #fff;
|
548
|
+
|
549
|
+
margin: 0px 4px;
|
550
|
+
|
551
|
+
text-align: left;
|
552
|
+
|
553
|
+
padding: 8px;
|
554
|
+
|
555
|
+
white-space: nowrap;
|
556
|
+
|
557
|
+
}
|
558
|
+
|
559
|
+
|
560
|
+
|
561
|
+
.example-list .example-item .data {
|
562
|
+
|
563
|
+
display: block;
|
564
|
+
|
565
|
+
width: 280px;
|
566
|
+
|
567
|
+
height: 30px;
|
568
|
+
|
569
|
+
background-color: #fff;
|
570
|
+
|
571
|
+
margin: 0px 4px;
|
572
|
+
|
573
|
+
text-align: left;
|
574
|
+
|
575
|
+
padding: 8px;
|
576
|
+
|
577
|
+
white-space: nowrap;
|
578
|
+
|
579
|
+
}
|
580
|
+
|
581
|
+
|
582
|
+
|
583
|
+
@media screen and (max-width: 599px) {
|
584
|
+
|
585
|
+
.example-list .example-item .data {
|
586
|
+
|
587
|
+
margin: 0px 0px;
|
588
|
+
|
589
|
+
}
|
590
|
+
|
591
|
+
}
|
592
|
+
|
593
|
+
|
594
|
+
|
595
|
+
.example-list .example-item:nth-child(even) {
|
596
|
+
|
597
|
+
padding: 0px 30px;
|
598
|
+
|
599
|
+
}
|
600
|
+
|
601
|
+
|
602
|
+
|
603
|
+
@media screen and (min-width: 600px) and (max-width: 1179px) {
|
604
|
+
|
605
|
+
.example-list .example-item:nth-child(even) {
|
606
|
+
|
607
|
+
width: 30%;
|
608
|
+
|
609
|
+
margin: 2vw;
|
610
|
+
|
611
|
+
}
|
612
|
+
|
613
|
+
}
|
614
|
+
|
615
|
+
|
616
|
+
|
617
|
+
@media screen and (max-width: 599px) {
|
618
|
+
|
619
|
+
.example-list .example-item:nth-child(even) {
|
620
|
+
|
621
|
+
margin: 50px 0px;
|
622
|
+
|
623
|
+
}
|
624
|
+
|
625
|
+
}
|
626
|
+
|
627
|
+
```
|
628
|
+
|
629
|
+
※example-itemのみ抜粋。
|
630
|
+
|
631
|
+
|
632
|
+
|
633
|
+
![exam-item-width](21412a166f988d06b88cc03ec111a806.jpeg)](3fd52aa4dc99987732d57e014f0b7543.jpeg)
|