質問編集履歴

3

cssコード削除

2019/07/04 05:04

投稿

Akaho
Akaho

スコア39

test CHANGED
File without changes
test CHANGED
@@ -414,164 +414,6 @@
414
414
 
415
415
 
416
416
 
417
- .lesson-wrapper {
418
-
419
- padding-bottom: 80px;
420
-
421
- padding-left: 5%;
422
-
423
- padding-right: 5%;
424
-
425
- background-color: #f7f7f7;
426
-
427
- text-align: center;
428
-
429
- }
430
-
431
-
432
-
433
- .heading {
434
-
435
- padding-top: 80px;
436
-
437
- padding-bottom: 50px;
438
-
439
- color: #5f5d60;
440
-
441
- }
442
-
443
-
444
-
445
- .heading h2 {
446
-
447
- font-weight: normal;
448
-
449
- }
450
-
451
-
452
-
453
- .lesson {
454
-
455
- float: left;
456
-
457
- width: 25%;
458
-
459
- }
460
-
461
-
462
-
463
- .lesson-icon {
464
-
465
- position: relative;
466
-
467
- }
468
-
469
-
470
-
471
- .lesson-icon p {
472
-
473
- position: absolute;
474
-
475
- top: 44%;
476
-
477
- width: 100%;
478
-
479
- color: white;
480
-
481
- }
482
-
483
-
484
-
485
- .text-contents {
486
-
487
- width: 80%;
488
-
489
- display: inline-block;
490
-
491
- margin-top: 15px;
492
-
493
- font-size: 13px;
494
-
495
- color: #b3aeb5;
496
-
497
- }
498
-
499
-
500
-
501
- .heading h3 {
502
-
503
- font-weight: normal;
504
-
505
- }
506
-
507
-
508
-
509
- .message-wrapper {
510
-
511
- border-bottom: 1px solid #eee;
512
-
513
- padding-bottom: 80px;
514
-
515
- text-align: center;
516
-
517
- }
518
-
519
-
520
-
521
- .message {
522
-
523
- padding: 15px 40px;
524
-
525
- background-color: #5dca88;
526
-
527
- cursor: pointer;
528
-
529
- box-shadow: 0 7px #1a7940;
530
-
531
- }
532
-
533
-
534
-
535
- .message:active {
536
-
537
- position: relative;
538
-
539
- top: 7px;
540
-
541
- box-shadow: none;
542
-
543
- }
544
-
545
-
546
-
547
- footer img {
548
-
549
- width: 125px;
550
-
551
- }
552
-
553
-
554
-
555
- footer p {
556
-
557
- color: #b3aeb5;
558
-
559
- font-size: 12px;
560
-
561
- }
562
-
563
-
564
-
565
- footer {
566
-
567
- padding-top: 30px;
568
-
569
- padding-bottom: 20px;
570
-
571
- }
572
-
573
-
574
-
575
417
 
576
418
 
577
419
  /* -------------------- CSSはここから追加していきましょう! -------------------- */

2

回答から得た解決内容を追記した。

2019/07/04 05:04

投稿

Akaho
Akaho

スコア39

test CHANGED
File without changes
test CHANGED
@@ -585,3 +585,9 @@
585
585
 
586
586
 
587
587
  ```
588
+
589
+ 追記
590
+
591
+ 『<p>から見てより近くにある.btn-wrapperに対してtext-align:center;がかかっていれば、それが継承されます。』
592
+
593
+ 継承される優先順位があるんだなと学んだ。

1

言語名変更

2019/07/04 04:57

投稿

Akaho
Akaho

スコア39

test CHANGED
File without changes
test CHANGED
@@ -102,7 +102,7 @@
102
102
 
103
103
  ```
104
104
 
105
- ```responsive
105
+ ```css
106
106
 
107
107
  コード
108
108