Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Order Summary Component

asdiAdi 130

@asdiAdi

Desktop design screenshot for the Order summary component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Edited to copy figma design as close as possible. Feedbacks are Welcome :D

Community feedback

Adriano 34,090

@AdrianoEscarabote

Posted

Hi asdiAdi, how are you? I really liked the result of your project, but I have some tips that I think you will enjoy:

To prevent the background image from breaking at higher resolutions, we can do this:

picture > img {
    width: 100%;
    height: 50vmin;
}

To improve card responsiveness do this:

.card {
    width: 100%;
    max-width: 327px;
}

The rest is great!

I hope it helps... 👍

Marked as helpful

1

asdiAdi 130

@asdiAdi

Posted

@AdrianoEscarabote Thanks! I have applied it to my code and it's actually better.

1

Please log in to post a comment

Log in with GitHub
Discord logo

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