Randomly generate Mondrian Art with CSS Grid and Vue

Randomly generate Mondrian Art

Playing some more with CSS Grid, Jhey create some Mondrian Art ?

Instead of just randomly generating from the CSS side though, I wanted to take it a step further and allow random generation on user click.

With a little Vue and some setTimeout hacking ? I present to you randomly generated Mondrian Art.

Made with

Html
Css
JavaScript

Author

Jhey

Demo

See the Pen Randomly generate Mondrian Art with CSS Grid + Vue ? by Jhey (@jh3y) on CodePen.