【发布时间】:2016-01-13 22:05:58
【问题描述】:
当我尝试使用underline 之类的东西时,它可以工作,但none 不能,即使使用!important。有谁知道为什么?
PS:del 元素应该与该行保持一致,我正在尝试从这个新的 after 内容中删除该行。
del:after {
content: attr(datetime);
text-decoration: none !important;
}
<del datetime="2001-01-01">Text</del>
【问题讨论】:
-
TEXT2001-01-01 是 TEXT 是 del 元素 而 2001-01-01 是伪元素的结果.. 这个问题不是问题
标签: html css text-decorations