New demo: Animated CSS Grid Layout. https://codepen.io/bramus/pen/ogBYjgm Here’s...

@bramus@front-end.social

New demo: Animated CSS Grid Layout.

codepen.io/bramus/pen/ogBYjgm

Here’s the thing, though: No View Transitions. Heck, no JS at all!

Instead, it uses Anchor Positioning to anchor the cell contents to the cell. Then, CSS transitions are used to animate the contents to their new location as the grid re-layouts.