Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
Give me suggestions that will improve my skills for the challenges ahead šāā
What challenges did you encounter, and how did you overcome them?Built with :
-HTML
-CSS (Using Flexbox) šØ
Community feedback
- @Alex-Archer-IPosted 5 months ago
Hi
It's a neat work, but setting width of
main
to25%
wasn't a good idea =) On the mobile version, which is 375px, the width of the card is94px
.Here is a tip for simple responsive width:
main { width: 95%; max-width: 40rem; }
That way it'll keep
40rem
width and become95%
if screen size will be less. Of course, you can use any values, it's just an example.The same about the avatar picture - it's quite a tiny element, so there is no harm to hardcode it's width =)
Overall, cool work, keep doing =)
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