Latest solutions
Latest comments
- @YeniUvwo@jumiranda5
Hi! I couldn't figure out why the middle column is shrinking more than the others... but have you tried using
flex-grow: 1
? w3 flex-growMarked as helpful - @joshmichael23@jumiranda5
Hi, Josh! Yes, you can use grid... I finished this challenge a few days ago and I used grid layout with grid-template-area this way:
.cards-container { margin-top: 4rem; grid-template-areas: '. c2 .' 'c1 c2 c4' 'c1 c3 c4' '. c3 .'; } .card1 { grid-area: c1; } .card2 { grid-area: c2; } .card3 { grid-area: c3; } .card4 { grid-area: c4; }
You can read more about grid-template-areas on MDN: grid-template-areas
All the best!