是否可以在不使用任何额外的 html 元素(如 del
)的情况下从段落中获取文本?
例如,在这一段
<p class="sliced-text">
My text here
</p>
我想让我的文字被加粗
如何实现 sliced-text
来剪切其中的文本?
最佳答案
关于jquery - 使用 html 类而不是 del 元素来覆盖文本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24244411/