Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: