Buttons | Peary74 ugly parrot 58
html公开前 25 行,完整代码需登录
<button>
<span class="box">
HEART
</span>
<div class="star-1">
<svg height="25" width="25" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg">
<path d="M427.313,88.686c-47.803-47.803-125.213-47.803-173.016,0l-17.087,17.087l-17.087-17.087
c-47.803-47.803-125.213-47.803-173.016,0c-47.803,47.803-47.803,125.213,0,173.016l190.103,190.103
c4.88,4.88,11.316,7.322,17.752,7.322c6.435,0,13.871-2.442,18.751-7.322l190.103-190.103
C475.116,213.899,475.116,136.489,427.313,88.686z" fill="#fd1853"></path>
</svg>
</div>
<div class="star-2">
<svg height="20" width="20" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg">
<path d="M427.313,88.686c-47.803-47.803-125.213-47.803-173.016,0l-17.087,17.087l-17.087-17.087
c-47.803-47.803-125.213-47.803-173.016,0c-47.803,47.803-47.803,125.213,0,173.016l190.103,190.103
c4.88,4.88,11.316,7.322,17.752,7.322c6.435,0,13.871-2.442,18.751-7.322l190.103-190.103
C475.116,213.899,475.116,136.489,427.313,88.686z" fill="#fd1853"></path>
</svg>
</div>
<div class="star-3">