Y
Hacker News
new
|
ask
|
show
|
jobs
by
V99
674 days ago
The way to go with this is to still use a grid, but make the row/col values be css variables ( "var(--foo)" ) instead of fixed values.
Then you can update the value of just that variable from JS, and the grid will reflect it.