Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted 10 months ago

Responsive testimonials grid section

coyoteshkw•150
@coyoteshkw
A solution to the Testimonials grid section challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What challenges did you encounter, and how did you overcome them?

use grid-column and grid-row creating complex layout. using pseudo class

at first I use grid-template-columns: repeat(fit-content, minmax(255px, 1fr)); but when screen larger I must control grid item's position manually(some card was too big or to small for one row height)

This actually messed me up, but I managed to come up with a layout that I was (barely) happy with.

What specific areas of your project would you like help with?

when screen > 400px and <1200px, sometimes the card will too height for adapting grid height, making space between card content too wide. And card avatar in one grid row different.

I can use align-self:start control avatar but still weird.(space not be the same)

maybe I could try container query on card font or card layout next time.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on coyoteshkw's solution.

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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License