Skip to main content
Photography of Alvaro Montoro being a doofus
Alvaro Montoro

Spanish Longhorn

Cartoon of a peasant

CSS Peasant

codepen css html showdev

Today I coded a drawing of a peasant using HTML and CSS. You can find the code on CodePen:

The style is inspired by the amazing characters of "At the Wall" by Atanas Atanasov... although it's not even close (really, that drawing is A-MA-ZING!)

I tried to add a small animation too: the blinking and something that may slightly resemble the chest moving up and down breathing, but nothing fancy.

Here's a video of how it was done:

Article originally published on