Flexbox is used

Please log in to post a comment
Log in with GitHubCommunity feedback
- Account deleted
Hi,
Your code is pretty good, but the height of your card isn't fit to the content, you have to round the border of the card too.
If you resize the page, you sometimes have problem with the height and width that change for no reasons, for example, if you get less height, the width change too.
This is because you got this : .order-card {
height: 92vh; width: 60vh; }It's should be probably better if you don't set a fixed height and width, and replace it with max-height and max-width.
Great work.
Marked as helpful
Join 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