3 ms·
This got me interested and I found this which looked like a super cool idea although the execution is not as polished as I would like: https://codepen.io/4rron/
by d1sxeyes 4y ago
This got me interested and I found this which looked like a super cool idea although the execution is not as polished as I would like: https://codepen.io/4rron/pen/vYpwyYa https://codepen.io/4rron/pen/vYpwyYa
This one is also quite interesting:
https://codemyui.com/sun-to-moon-on-off-switch/ https://codemyui.com/sun-to-moon-on-off-switch/
This one is sort of the opposite of the first - lovely execution, but the actual switch has the same problem as OP identified:
https://codepen.io/steve_walson/pen/oNprgre https://codepen.io/steve_walson/pen/oNprgre
- pmontra 4y agoThe labels in the second one shouldn't be on and off but light and dark. There is nothing to turn on and off, it's a change of status. Basically two radio buttons each one with its own label.