Responsive Recipe Page Using Flexbox, negative margin

Solution retrospective
- Even though I faced many problems but I didn't give up and completed the project. I'm proud to complete this.
- For me the toughest part was how to let the header image take the full width for the mobile screen. For the image to take full width it had to neglect the padding of the container. So to overcome this I used the negative margin and it solved the problem.
- I'll will be happy if someone could tell different method other than using negative margin to fit the image on the top completely taking the width of the container.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @BhargavMarala
looking good and exactly.
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