You would place the grid row/column/span properties individually I think
There are plugins for named template areas but it's not available "out of the box" to my knowledge
Ps your media query needs to be defined in rem or em not px
@kennylun123
Posted
@grace-snow
Aha! Instead of trying grid-template-area, I can achieve the same result by taking your advice of using the properties like grid-flow-col, row-span etc... Also I used arbitrary variant to select nth of type card to span between grid and vertically align center.
.home__cards-wrapper {
... grid-flow-row lg:grid-flow-col lg:[&>*:nth-of-type(1)]:row-span-2 lg:[&>*:nth-of-type(4)]:row-span-2 lg:items-center ...
}
Thank you so much! :D