Radio-buttons | 3bdel3ziz T lucky bullfrog 15
html公开前 25 行,完整代码需登录
<section>
<label title="home" for="home" class="label">
<input id="home" name="page" type="radio" checked="" />
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 21 20"
height="20"
width="21"
class="icon home"
>
<path
fill="inherit"
d="M18.9999 6.01002L12.4499 0.770018C11.1699 -0.249982 9.16988 -0.259982 7.89988 0.760018L1.34988 6.01002C0.409885 6.76002 -0.160115 8.26002 0.0398848 9.44002L1.29988 16.98C1.58988 18.67 3.15988 20 4.86988 20H15.4699C17.1599 20 18.7599 18.64 19.0499 16.97L20.3099 9.43002C20.4899 8.26002 19.9199 6.76002 18.9999 6.01002ZM10.9199 16C10.9199 16.41 10.5799 16.75 10.1699 16.75C9.75988 16.75 9.41988 16.41 9.41988 16V13C9.41988 12.59 9.75988 12.25 10.1699 12.25C10.5799 12.25 10.9199 12.59 10.9199 13V16Z"
></path>
</svg>
</label>
<label title="cart" for="cart" class="label">
<input id="cart" name="page" type="radio" />
<svg
xmlns="http://www.w3.org/2000/svg"
fill="inherit"
viewBox="0 0 18 20"
height="20"
width="18"
class="icon cart"