如何保持line-through
悬停?
CODE
<style>
.strike { text-decoration: line-through }
</style>
<a href="#" class="strike" >Not Applicable</a>
答案 0 :(得分:2)
将strike:hover
添加到声明
.strike,
.strike:hover {
text-decoration: line-through
}
<a href="#" class="strike">Not Applicable</a>