dynamic grid

how would you dynamically generate grids like this?
No description
1 Reply
George
George11mo ago
If your using tailwind, u could use the grid classes define them in an array and randomly select values in there to generate random grids col / row sizes, u could also use col-span-2 row-span-2 or whatever to get different cell sizes. You could also do this if ur not using tailwind, just gotta create the classes urself.
Want results from more Discord servers?
Add your server