Change grid-column with JavaScript

Thanks to https://www.w3schools.com/cssref/pr_grid-column.asp

Click the button to rearrange the position of an item with animation and/or show history

 

1
2
3
4
5
6
7