source: animate-css-grid
If you use React, you might want to try out react-flip-toolkit
grid-gap
grid-template-columns
click a card to toggle the grid-column and grid-row properties on the card
grid-column
grid-row