Grow your CSS skills. Land your dream job.

Adjust thickness of css ‘line-trough’?

  • # January 12, 2013 at 1:49 am

    Is there a method to adjust the thickness of **text-decoration: line-through** without having to use a span and border?

    # January 12, 2013 at 2:00 am

    @NSR Not unless you use some sort of manipulation. If you’re asking if there’s a specific property to change it, no.

    # January 12, 2013 at 5:00 am

    Thanks chris,

    Think I will just use the span and border method

    # January 12, 2013 at 10:40 am

    How about this?

    http://codepen.io/andyunleashed/pen/LjCwr

    Only caveat is that it won’t work on multiple lines.

    # January 12, 2013 at 1:43 pm

    @andyhowells Awesome that works too. Cool

    # April 11, 2013 at 5:01 pm

    @andyhowells that is an awesome link – I needed an answer to this question too. Thank you for sharing!

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".