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

responsive landing page using CSS flexbox

Dagger 100

@hopilizkid

Desktop design screenshot for the Recipe page coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

P
AnDev 240

@marynaKolikova

Posted

Hi! Use max-width. It do your site flexible. Try it and you see when all change

1

Dagger 100

@hopilizkid

Posted

explain more... maxwidth on every element inside the div? @marynaKolikova

0
P
AnDev 240

@marynaKolikova

Posted

<div class="preparation"> <h2>Preparation time</h2> <ul> <li> <span>Total: </span>Approximately 10 minutes </li> <li> <span>Preparation: </span>5 minutes </li> <li> <span>Cooking: </span>5 minutes </li> </ul> </div> - it is my section

.preparation { padding: 24px; max-width: 656px; - it is make this block flexible ! background: #FFF7FB; border-radius: 12px; margin-bottom: 32px; }

0

Dagger 100

@hopilizkid

Posted

thanks @marynaKolikova

0

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