Interactive rating component

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.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @Razha90
- 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 helpful - To make a perfect circle , you have to give the width and height the same size and give
Join 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