Design comparison
SolutionDesign
Solution retrospective
am having trouble centering the contents,particulary in mobile version.any tip on how to do this plus feedback on any other feature is highly welcome
Community feedback
- @HorshawPosted almost 4 years ago
Hi,
You should try to reconstruct it using grids. Grid is much more suitable for 2D layouts. By putting your grid in a flex, it will be easy to centre it with align-items: center and justify-content: center.
I hope this will help you.
Marked as helpful1
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