Another single-element toggle switch without using JS or images, just HTML and CSS.
Demo on @codepen.io: https://codepen.io/alvaromontoro/pen/XJXPddw
This one is "directional aware" and has micro-interactions, but it's using a trick so not all the toggle area is clickable... which is not ideal 😳