Design comparison
Solution retrospective
1.Please let me know, why the edges of button are being cut off after applying border radius
Community feedback
- @paulpdoaPosted over 2 years ago
I look at your css file and I saw that you are using percent. Try using px or any other units that is available.
And regarding with your cards, just look at the design and compare it to your work. You added a border radius in every card. My tip is copy the exact design to make it more looking good.
Happy coding!
Marked as helpful0 - @stijnmeershoekPosted over 2 years ago
the problem you're having is because if you apply a percentage % to border radius it will want to make the button look like a circle, to get the nice pill shape you should use other units. It doesn't matter which units as long as it's not a percentage. i suggest using 100vw so that it will always be a pill
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