(https://i.sstatic.net/YjJkmILx.jpg)(https://i.sstatic.net/e8Pj0yIv.jpg)Switch's classic games layout is quite unique in that each row changes size based on the number of objects. The objects themselves also change size, adjusting their width without changing their aspect ratio, and can be easily moved to different rows.
This is shown on this video > https://www.youtube.com/watch?v=hXsulfXjZZ4
Can anyone help me replicate this design in css or js/jq? Thank you!