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

Y'know, I suspect certain groups of modernist painters would have a field day with CSS. De Stijl for instance would love it. There is something so elegant and fun about using a medium that forces you to use only circles, rectangles and a few select curves under a few simple transformations.

I was visiting a 20th century art gallery and was joking with my friends about which painters could be implemented in CSS (Yves Klein ofc). Maybe I should go ahead and do it. There's a few Mondrians that'd be fairly easy.



You can go pretty darn far with CSS if you are ok with multiple divs...

https://diana-adrianne.com/purecss-francine/


> You can go pretty darn far with CSS if you are ok with multiple divs...

Of course, if you're OK with multiple divs, the ultimate extension is to just make a giant rectangular grid of 1x1 pixel divs and color them appropriately.


Or you can use `background-image: url()` in a single div, but that's cheating too ;)


That thing is insane!

Although I guess if you have an arbitrary number of divs, CSS just becomes a much more esoteric equivalent to SVG


Ok. It crashes my galaxy s9s chrome browser so let's put up a warning about it being an insane browser expwriment


Seems to be okay on Firefox on my S5 (though it takes a minute to load), in case you want to view it.


That's weird - works fine on Chrome on my s8




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: