I used grid-template-areas
, which i have'nt used before. It worked well. Will just keep on learning for next time.
It was hard to get the box-shadows
right, as they covered the neighbouring cards. Made it work by creating a pseudo-element with ::after
. Note: I had to set border-radius
to make it look good.
Everything helps!