CSS实现带颜色的删除线

阅读 62

2022-03-26


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />

<title>带颜色的删除线</title>

<style type="text/css">

span{color:red; text-decoration:line-through; font-family:Arial;}

em{color:orange;}

</style>

</head>

<body>

<span><em>¥35.00</em></span>

</body>

</html>



精彩评论(0)

0 0 举报