Design comparison
SolutionDesign
Solution retrospective
Hi everyone! Is there a way to make sure my buttons are round? I tried playing with padding, but the end-result is not ideal.
Community feedback
- @Razha90Posted over 2 years ago
- To make a perfect circle , you have to give the width and height the same size and give
border-radius: 50%;
. - I noticed you gave a
display: flex;
but you gave a margin to keep the distance you should usegap: 0.3em;
to keep the distance.
Happy Coding 😁😁
Marked as helpful1 - To make a perfect circle , you have to give the width and height the same size and give
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