Submitted 4 months ago
Frontend Mentor | Product preview card component
@bhushu0910
Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
The implementation of the CSS part was easy and was proud of it
What challenges did you encounter, and how did you overcome them?styling div class and div ID was a little confusing but solved it
Community feedback
- @hadodevPosted 2 months ago
Hi @bhushu0910,
Nice solution. Well done!
My recomendations:
- Try to acheive better the space between the elements. The
<div class="right">
must have a widerpadding-inline
ormargin-inline
. - The image must have
border-radius
in the left side (desktop design). - I think that the main goal of the challenge is get a responsive layout. Your solution doesn't adapt for small devices.
For responsive design, check out this ressource: 1-Line Layouts - 10 Modern CSS layout and sizing techniques that highlight just how robust and impactful a single-line of styling code can be.
Keep going!!
0 - Try to acheive better the space between the elements. The
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