Open jcubic opened 13 hours ago
Hi there and welcome to the project :D @jcubic .
Thanks for pointing this out. It was just an horrible design idea on my part, I will change this soon to just be a normal button.
You can make Toggle like this in Pure CSS. There are a lot of examples online.
Here is mine that I did long ago:
https://codepen.io/jcubic/pen/WXLKeQ
The old code require the label to be after the input, but now with :has()
selector, you can make the label before the input. Another way is to change the order with flexbox.
Thank you, I'll give a try :))
You can only click on label and not on the toggle, which looks like a UX bug to me.