效果图
代码
横线划掉效果就是用到了html" title=css>css的一句代码:text-decoration: line-through;
其他颜色大小是自己改的。
<p class="usa">
¥499.00
<span
style="
text-decoration: line-through;
font-size: 12px;
color: #ccc;
"
>¥799</span
>
</p>