These radio buttons were styled using only CSS to look like accordion tabs. It was designed by Flkt Crnpio.
If you are having trouble with the pen, try the archived copy on GitHub
Accordion Tabs Snippet
See the Pen Tabs. Pitaya CSS by Flkt Crnpio (@flkt-crnpio) on CodePen.0