回答編集履歴
1
わかりやすく
    
        answer	
    CHANGED
    
    | @@ -1,3 +1,77 @@ | |
| 1 1 | 
             
            そのハートの上に一回り小さい白いハートを重ねればいいんじゃないでしょうか。
         | 
| 2 2 |  | 
| 3 | 
            -
            面倒ならアイコンフォントを使っちゃうほうが速い気もします。
         | 
| 3 | 
            +
            面倒ならアイコンフォントを使っちゃうほうが速い気もします。
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            追記
         | 
| 6 | 
            +
             | 
| 7 | 
            +
             ```html
         | 
| 8 | 
            +
            <div class="heart">
         | 
| 9 | 
            +
            <div class='heart-inner'>
         | 
| 10 | 
            +
            </div>
         | 
| 11 | 
            +
            </div>
         | 
| 12 | 
            +
            ```
         | 
| 13 | 
            +
             | 
| 14 | 
            +
            ```css
         | 
| 15 | 
            +
            .heart{
         | 
| 16 | 
            +
            position: relative;
         | 
| 17 | 
            +
            width: 200px;
         | 
| 18 | 
            +
            height: 200px;
         | 
| 19 | 
            +
            -webkit-transform: rotate(45deg);
         | 
| 20 | 
            +
            -moz-transform: rotate(45deg);
         | 
| 21 | 
            +
            -ms-transform: rotate(45deg);
         | 
| 22 | 
            +
            -o-transform: rotate(45deg);
         | 
| 23 | 
            +
            transform: rotate(45deg);
         | 
| 24 | 
            +
            background-color: rgba(250,184,66, 1);
         | 
| 25 | 
            +
            }
         | 
| 26 | 
            +
            .heart:before,
         | 
| 27 | 
            +
            .heart:after{
         | 
| 28 | 
            +
            position: absolute;
         | 
| 29 | 
            +
            width: 200px;
         | 
| 30 | 
            +
            height: 200px;
         | 
| 31 | 
            +
            content: '';
         | 
| 32 | 
            +
            -webkit-border-radius: 50%;
         | 
| 33 | 
            +
            -moz-border-radius: 50%;
         | 
| 34 | 
            +
            -o-border-radius: 50%;
         | 
| 35 | 
            +
            border-radius: 50%;
         | 
| 36 | 
            +
            background-color: rgba(250,184,66, 1);
         | 
| 37 | 
            +
            }
         | 
| 38 | 
            +
            .heart:before{
         | 
| 39 | 
            +
            bottom: 0px;
         | 
| 40 | 
            +
            left: -100px;
         | 
| 41 | 
            +
            }
         | 
| 42 | 
            +
            .heart:after{
         | 
| 43 | 
            +
            top: -100px;
         | 
| 44 | 
            +
            right: 0px;
         | 
| 45 | 
            +
            }
         | 
| 46 | 
            +
             | 
| 47 | 
            +
             | 
| 48 | 
            +
            .heart-inner{
         | 
| 49 | 
            +
            z-index: 10;
         | 
| 50 | 
            +
            position: relative;
         | 
| 51 | 
            +
            width: 190px;
         | 
| 52 | 
            +
            height: 190px;
         | 
| 53 | 
            +
            background-color: white;
         | 
| 54 | 
            +
            top: 5px;
         | 
| 55 | 
            +
            left: 5px;
         | 
| 56 | 
            +
            }
         | 
| 57 | 
            +
            .heart-inner:before,
         | 
| 58 | 
            +
            .heart-inner:after{
         | 
| 59 | 
            +
            position: absolute;
         | 
| 60 | 
            +
            width: 190px;
         | 
| 61 | 
            +
            height: 190px;
         | 
| 62 | 
            +
            content: '';
         | 
| 63 | 
            +
            -webkit-border-radius: 50%;
         | 
| 64 | 
            +
            -moz-border-radius: 50%;
         | 
| 65 | 
            +
            -o-border-radius: 50%;
         | 
| 66 | 
            +
            border-radius: 50%;
         | 
| 67 | 
            +
            background-color: white;
         | 
| 68 | 
            +
            }
         | 
| 69 | 
            +
            .heart-inner:before{
         | 
| 70 | 
            +
            bottom: 0px;
         | 
| 71 | 
            +
            left: -100px;
         | 
| 72 | 
            +
            }
         | 
| 73 | 
            +
            .heart-inner:after{
         | 
| 74 | 
            +
            top: -100px;
         | 
| 75 | 
            +
            right: 0px;
         | 
| 76 | 
            +
            }
         | 
| 77 | 
            +
            ```
         | 
