Wrote a Medium article
I created and article on medium around building a CSS only toggle switch using purely HTML and TailwindCSS.

It makes use of new features added to TailwindCSS v2.2.

I've also taken the time to ensure that the HTML used is semantically correct and fully valid.

https://medium.com/front-end-weekly/build-a-css-only-toggle-switch-using-tailwindcss-d2739882934