DEV Community

Cover image for Drawing a CSS cartoon
Alvaro Montoro
Alvaro Montoro Subscriber

Posted on

36 7

Drawing a CSS cartoon

It was a slow Sunday afternoon/evening, and I had an hour to play with the computer, so I decided to draw something from scratch using HTML and CSS:

I wasn't using any image for reference, which made it different and fun (and the result unpredictable and a bit weird).

Initially, it was only going to be the face of a person, then fangs popped up, and then my kids woke up from their nap and the drawing ended (there were some attempts to continue, but they were unsuccessful).

Here how the coding process:

...after watching the video, I realized I need to improve my typing. I can't believe the number of times that I had to hit delete/backspace because I did a small mistake.

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

Top comments (8)

Collapse
 
gsarig profile image
Giorgos Sarigiannidis

This reminds me of myself when I first discovered CSS animations :D Here's mine, just for fun:

codepen.io/gsarig/pen/LkdxKj
codepen.io/gsarig/pen/AXykzY
codepen.io/gsarig/pen/xOpqRJ

Collapse
 
alvaromontoro profile image
Alvaro Montoro

The Walking Bed XDDDDDDDDDDDDDD

Collapse
 
sadiqur_rahman profile image
Sadiqur Rahman

I liked walking bed :D :D

Collapse
 
alvaromontoro profile image
Alvaro Montoro

You can use it and improve it :)

 
alvaromontoro profile image
Alvaro Montoro

What did you use to draw it?

Collapse
 
nombrekeff profile image
Keff

Nice stuff! Looks awesome!

Collapse
 
aleksandrhovhannisyan profile image
Aleksandr Hovhannisyan

Very cool!

Collapse
 
andrewbaisden profile image
Andrew Baisden

Very cool i should level up my CSS drawing game.

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay