Responsive Testimonial Page Using CSS Grid

Solution retrospective
Built a testimonial grid section so as to improve my knowledge on css grid.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @matiasluduena23
Hi DruxAMB’s! Congratulations you finished the challenge!!! Just one recommendation that might help you with your projects.
- You can use a utility class to center you content in the middle and prevent that stretch all away the viewport width.
In your css file
.container { widht: 90%; // in small screens it will take the 90% of the viewport width max-width: 1100px; // in big screens won't grow more than 1100px viewport width margin-inline: auto; //margin left and right will center you content }
In you html
<div class="container" > <main class="main-section"> content </main> </div>
Hope this help you!
Good code!
Matias
Marked as helpful
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