A Single Div
npm i npm start
This is a fun, little project to see how much can be accomplished with CSS. Every drawing consists of a single HTML element (in this case, the beloved div).
Yes, this isn't super practical.
Yes, SVG is an easier and better medium for illustrations.
Yes, browser support is not broad.
Yes, it is super fun to do this anyway. ;)
This project uses a combination of Pug for templating and Stylus for CSS preprocessing.
Copy paste as much as you'd like, edit it, experiment. If you reuse a significant portion of CSS or full drawings, credit would be appreciated! Thanks!
I'm currently not taking any outside contributions. I encourage you to share your single divs on codepen.io or your own site! Tweet at me if you do!