Design comparison
SolutionDesign
Solution retrospective
Hello everyone.
I used the 'Position' property a lot in this project for positioning the background patterns, ratings and testimonial components; it was a bit challenging but I sailed through. Are there a other ways of achieving aforementioned apart from using the 'Position' property? Thank you.
Community feedback
- @SahilGill003Posted about 1 year ago
For testimonials container you can use grid like this : Image
@media (width >= 1440px) { .testimonials-container { display: grid; grid-template-columns: repeat(3,1fr); grid-template-rows: 20px 20px auto 20px 20px; column-gap: 2rem; } .testimonials { grid-row:1/4; // span rows from 1 to 4 } .testimonials:nth-child(2) { grid-row:2/5; } .testimonials:nth-child(3){ grid-row:3/6; } }
Marked as helpful0@TonyAppiahPosted about 1 year ago@SahilGill003
Much appreciated Sahil. It's great to see things from another angle.
1
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