通过css来画出一颗桃心
#heart {
width: 100px;
height: 80px;
position: relative;
}
#heart:after {
content: "";
width: 50%;
height: 80px;
background: red;
position: absolute;
left: 50%;
border-radius: 25px 25px 0 0;
transform-origin: 0 100%;
transform: rotate(-45deg);
}
#heart:before {
content: "";
width: 50%;
height: 80px;
background: red;
position: absolute;
left: 0%;
border-radius: 25px 25px 0 0;
transform-origin: 100% 100%;
transform: rotate(45deg);
}