Responsive site built with CSS Grid and JS for the theme switcher

Solution retrospective
Any feedback welcomed 😁
Please log in to post a comment
Log in with GitHubCommunity feedback
- @abhijitbcob
I really liked your css code. My one tip for making the toggle switch scalable:
- assign the width of circle slider to a variable
- then using multiplicand of the variable define the width of the switch
- transform the slider using the multiplicand of the variable(use calc())
- then just change the variable value and everything will change
Marked as helpful
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord