Design comparison
SolutionDesign
Solution retrospective
The theme toggle is an HTML range-input-element. However, the styling of these kind of elements is a pain. It was a bit like walking on the thin line of trying to write the HTML as semantic as possible and keeping the css simple. The problem with the styled input element is, however, that it looks slightly different in every other browser.
What do you think? How do you cope with browser compatibility?
Community feedback
Please log in to post a comment
Log in with GitHubJoin 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