Design comparison
Solution retrospective
I am very happy with the projects that I am delivering, without a doubt each one is going up a level
What challenges did you encounter, and how did you overcome them?I found that when placing the images so that everything is focused on the container we must set a size to that container and also to the image itself.
What specific areas of your project would you like help with?In semantics and the use of CSS with responsive measures to make my projects more adaptable.
Community feedback
- @keinermendozaPosted 2 months ago
Hola Carlos. You can improve responsive design with just a few small changes. Instead of using fixed pixel widths, consider using percentage widths and setting a max-width to establish a limit, for example in:
.card-container { width: 100%; max-width: 327px; /* height: 501px; */ }
then you can leave the image to adapt its container, for example:
.img-container{ width: 100%; height: auto; }
In that case you don't need to use overflow: hidden
0@Carl-codePosted 2 months ago@keinermendoza Thank you for taking the time to give me your advice, I will take it into consideration for future challenges.
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