How to make line-through wider/bigger than text/element using CSS
问题 Can you please let me know how I can force CSS to make the line-through property wider than element width ? For Example <h3 style="text-decoration:line-through">50</h3> and result looks like now how I can make the line wider than element to be more obvious? Like 回答1: You can use which is a cheesy way to go for <div> HELLO </div> Demo Or you can do is, use :before and :after pseudo with content property Demo div { text-decoration:line-through; } div:before, div:after { content: "\00a0\00a0