Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Responsive 3 column preview card using grid

Kenny Ng 400

@kennylun123

Desktop design screenshot for the 3-column preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Hi everyone, this is my solution of "3 column preview card".

  • I learned CSS property 'transition'.
transition: background-color 200ms ease-in-out, color 200ms ease-in-out;
  • I found that using grid-template-rows: 1fr 1fr 1fr; will share equal amount of width for each item. In this situation, it is better than using flex-direction: row;.

Community feedback

Please log in to post a comment

Log in with GitHub
Discord logo

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