Submitted 9 months ago
Pricing component with toggle using Native CSS and Zero Javascript
@Brian-Pob
Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
Has some responsiveness issues. The widths could have been better off implemented with viewport units or container units and the fonts could have been made responsive using clamps()
. Uses :has()
selector to implement the toggle switch. I also tried to make the toggle switch accessible with a focus outline.
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