Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 4 years ago

Testimonials Grid Challenge

Shahin NJ•1,190
@SJ-Nosrat
A solution to the Testimonials grid section challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


Hi, I implemented CSS Grid in the following way:

  1. Designed for the Mobile first as per design requirements.
  2. In between the Mobile and the Desktop design I add the following code: grid-template-columns: repeat(auto-fit, minmax(327px, 0.75fr)) so as to adapt to the screen viewport width.
  3. Designed for the Desktop as per design requirements; placing the grid items explicitly and then using the CSS transform property to achieve the desired look.

Please let me know, if my approach was correct! Thanks in advance!

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 Shahin NJ'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