You can check it out in action here: https://fictoan.io/
It’s all CSS, and two lines of JS, just for the rotation trigger. I wanted to make it into a bigger scene, but wanted to share this right away!
Can you spot all the micro-details here?
Full code:
https://github.com/fictoan/fictoan-docs/tree/main/src/components/Header/ThemeToggle
Top comments (0)