Design comparison
SolutionDesign
Community feedback
- @sahilataharPosted over 1 year ago
Using rem or em unit is better. It you want to change border radius according font size.
1 - @ahsan1280khanPosted over 1 year ago
Don't use border-radius in percentage....
0@ahsan1280khanPosted over 1 year ago@gitanshu18 "I think that if your element is perfectly square, you can use percentage units, but otherwise, it's better to use pixel, rem, or em units."
Marked as helpful1
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