Design comparison
Community feedback
- @kanishkasubashPosted over 1 year ago
Hello there 👋. Great job on completing the challenge !
Your project is looking amazing! 😄 Just a little suggestion: Instead of using pixels in
font-size
, use relative units likeem
orrem
. Thefont-size
in absolute units like pixels does not scale with the user's browser settings. Source.For the image, a simpler approach is using
max-width: 90%
. This will automatically resize the image to fit within its parent container without causing distortion. Setting a specific width on an image can distort the aspect ratio of the image, especially when the image is responsive and its width is set to a percentage.Keep up the great work! 👍
🖥️Happy coding!
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