Radio Button as Strikethrough Text in Pure CSS

Image: Radio Button as Strikethrough Text in Pure CSS GIF

With this pure CSS snippet by Ed Hicks you can show you radio buttons selection as a sentence where the item not selected is crossed-out and the other one is shown, it will work best when you only have two options in the radio button.

If you are having trouble with the pen, try the archived copy on GitHub

Radio Button CrossOut Text Snippet

See the Pen Strikethrough Radios by Ed Hicks (@blucube) on CodePen.0

Posted by:Saijo George

Digital Marketer with a strong focus on technical SEO and design. One of the top 100 makers on Producthunt, co-organizer of the SEO Meetup in Melbourne, an instructor at General Assembly. Worked with brands like Envato, AEON. Currently the SEO Strategy Director at Supple.