Design comparison
SolutionDesign
Community feedback
- @FaberBenjaminPosted almost 2 years ago
Hi,
If you would like to make a perfectly circular element you can set the
border-radius
to 50% (actually there is no need to set it to 100) and give the element the samewidth
andheight
value. You can define both of them to be the same, or just one of them while using theaspect-ratio 1/1
attribute. Other than this your code looks amazing.Congratulations :D !
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