Design comparison
Solution retrospective
I'm having trouble with the responsiveness. Any feedback would be great.
Community feedback
- @MishaHernandezPosted almost 4 years ago
Hi Tyler!
-
Container margins are left over if you are already using flexbox for absolute centering (
justify-content: center
andalign-items: center
). But that absolute centering you're doing doesn't work properly because you need to assign its container (body) aheight: 100vh
. -
The blocks at the bottom (
.sign-up
and.benefits
) are in columns but they don't cover the entire row because they still retain a width of the 50% that you assigned them, so you must rewrite that value to 100% within the media query. -
I encourage you to review the documentation about Flexbox and Grid, the latter provides a more comfortable way to solve this design.
Greetings and continue with the challenges :)
2 -
- @guliye91Posted almost 4 years ago
You are better although your site is not responsive. Make use of css grids and flexbox for better layout. This is the same project you built. I built using css grid and flexbox. Kindly go through to get better understanding on how layout and responsivenes work https://www.frontendmentor.io/solutions/single-price-grid-component-using-css-grid-and-flexbox-RF2eD1iIC
2
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