Grid elements animation with CSS Grid


 I would like to create a chess game in React for fun. I am wondering if it's possible to animate elements in CSS Grid when they change their positions on the grid (for example, when you move a piece, I want to animate the change from o cell to another one).

Can I animate it just with CSS?