Skip to content
🎨 CSS drawings with only one HTML element.
CSS HTML JavaScript
Branch: master
Clone or download

Latest commit

Latest commit 3326062 May 22, 2020


Type Name Latest commit message Commit time
Failed to load latest commit information.
_images add grunt Jan 23, 2018
_pug SIX πŸŽ‰ May 22, 2020
_styl SIX πŸŽ‰ May 22, 2020
.gitignore add grunt Jan 23, 2018
CNAME Create CNAME Jun 24, 2014
Gruntfile.js update build stuff Nov 22, 2018 Update Oct 26, 2019
_redirects add redirect Mar 4, 2019
package.json update build stuff Nov 22, 2018

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).

But, but!

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. ;)

Project Details

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 or your own site! Tweet at me if you do!

You can’t perform that action at this time.