text-decoration装饰:
text-decoration:none(默认)
text-decoration:blink(闪烁)
text-decoration:underline(下划线)
text-decoration:line-through(贯穿线)类似于删除线
text-decoration:overline(上划线)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>装饰</title>
<style>
div {
text-align: center;
text-decoration: overline;
}
p {
text-decoration: underline;
color: #f00;
}
s {
text-decoration: none;/*取消删除线*/
}
}
</style>
</head>
<body>
<div>改变随便发的卡萨</div>
<p>付款到货数量不能放松</p>
<s>dsjfhkjsak</s>
</body>
</html>