Design comparison
Solution retrospective
i learn lots of about github
What challenges did you encounter, and how did you overcome them?None
What specific areas of your project would you like help with?arranging a css
Community feedback
- Account deleted
Hello, Kashyap. Good start on the challenge.
I have a suggestion that will help you next time.
Consider the code from the
.box1
selector below:width: 16%; max-width: 300px;
Note that the current width is set at
16%
of300px
and should not exceed the max-width of the box.It's best to use
px
(pixels) values for thewidth
property to set a fixed width rather than using%
. When using percentages, the size of the element may stretch or shrink based on the container's size, similar to how theimg
element behaves.With that, good luck on your coding journey.
0 - @George-McPhersonPosted 7 months ago
You should add a min-width, so the card doesn't shrink to a point where it's unreadable.
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