DEV Community

loading...

Discussion on: Let's create a custom toggle switch using HTML and CSS.

Collapse
b_e_sandbakk profile image
Bjørn Erik Sandbakk

Thanks for a great example. A question, can this be done with radio as well? I see a great benefit in some radio choice lists using this technic.

Greatings from Norway.

Collapse
devggaurav profile image
Gaurav Author

Hey, thanks! Yes, I think we can also create a custom radio button. I've never tried it but I will try😀