If you use gap property on a grid or a flexbox and try to auto-animate a remove it weirdly jumps around. Here's a reproduction in codepen: https://codepen.io/paoloricciuti/pen/YzaRyNV