Design comparison
SolutionDesign
Community feedback
- @antsanchez198Posted 11 months ago
Hey Aliyu, It looks great! I would just want like to provide some feedback :)
- For the <img> css attributes, you can just change the width and leave the height empty or to "auto". This will prevent the image from getting stretched out and keep the aspect ratio.
Example: .image { width: 250px; height: auto; margin-right: 0; margin-left: 0; border-radius: 10px; }
OR
.image { width: 250px; margin-right: 0; margin-left: 0; border-radius: 10px; }
Marked as helpful0
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