Design comparison
SolutionDesign
Solution retrospective
Hello, I have one question, it has added a nice effect accidentally not gonna lie, but how do you keep the buttons' size from growing when clicked. Any suggestions on how I can improve are welcome!
Community feedback
- @SaifN97Posted over 3 years ago
Hey sjtmunez! Good work on this one!
I think the border is causing the problem of resizing the button element while clicking as there is no border on it initially.. Also I'll suggest avoid setting fixed heights and use margins and paddings instead..
Hope this was helpful to you..
Have fun coding! Cheers!
Marked as helpful0
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