Design comparison
Solution retrospective
Resubmitted design, count on your feedback
Community feedback
- @HalezisPosted over 2 years ago
Hey, Leonard. Great work you've done here.
But if you noticed, the button disrupts the size of the container while hovered, this is as a result of the extra (1px solid) you added to the .btn: hover element in line 147.
I faced a similar issue while I tried this challenge, and this is how I think you should go about it.
.btn:hover { color: #f2f2f2; background: none; border: 1px solid; padding: 9px 0; }
Notice I added same padding as in your .btn then subtracted 1px to account for the solid border. I hope this helps. Happy coding
1@KaptainCS3Posted over 2 years ago@Halezis007 thanks bro I didn't know what possibly cause it, another lesson in the bag 🙏🙏
0@KaptainCS3Posted over 2 years ago@Halezis007 I'm ! Close to my PC I will correct that
0
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