DEV Community

Cover image for CSS Is Dead!
Alvaro Montoro
Alvaro Montoro Subscriber

Posted on Originally published at Medium

CSS Is Dead!

This is the comic I coded this week for comiCSS. It is a silly joke drawn with HTML and CSS (you can see the source code here):

Cartoon in three panels: Death (a skeleton wearing a dark cloak with a smythe) receives a text message from JavaScript saying 'CSS is dead!' Disappointed, Death sighs:

The design for this cartoon was inspired by two different drawings that I saw on Dribble:

I also created an animated version of the comic (available in Spanish too!), I hope you enjoy it:

NOTE: The animation only plays once. You may need to click on the "Rerun" button in the bottom right corner.

It was actually a lot of fun trying to animate the drawing. I normally don’t do much animation, mostly just drawing –and, of course, laying out content and website styling, I mean from a creative perspective–. So it was quite a challenge, to be honest.

I liked the result, but I’m not fully sold on things like eye movement or how Death restarts walking. I need to explore the animation properties and try to create new things that move and behave more naturally.

Links

Top comments (41)

Collapse
 
grenmath profile image
Mathieu Grenier •

you mean: "Death in CSS"

Collapse
 
webduvet profile image
webduvet •

or death by CSS...

Collapse
 
mackfitz profile image
Maciek Fitzner • • Edited

Famous last words:

Over my dev 〈body〉〈∕body〉

Collapse
 
alvaromontoro profile image
Alvaro Montoro •

That too 🤓

Collapse
 
tareksahnoun2 profile image
Tarix Sahnoun •

Death by CSS Grid

Collapse
 
corners2wall profile image
Corners 2 Wall •

Amazing, looks impossible. Good job

Collapse
 
babar1532 profile image
ANKIT KUMAR •

As a new guy in css world looks impossible to me.

Collapse
 
blessing0024 profile image
onome blessing •

we share same feeling.... hope we get better soon

Collapse
 
alvaromontoro profile image
Alvaro Montoro •

If it helps anything, what's showcased on this post is not something especially practical or useful for web development.

Collapse
 
ant_f_dev profile image
Anthony Fung •

This is really cool - thanks for sharing!

How long did this take to write?

Collapse
 
alvaromontoro profile image
Alvaro Montoro •

The static cartoon took me less than 1 hour. Animating it took longer 😅

Collapse
 
ant_f_dev profile image
Anthony Fung •

I suppose time doesn't matter so much if it's fun. It certainly looks like it was worth it!

Collapse
 
matpk profile image
Matheus Adorni Dardenne •

CSS is dead.... long live CSS. 😂

Awesome animation, very well done.

Collapse
 
chiki1601 profile image
Miss Pooja Anilkumar Patel •

😢

Collapse
 
mahadev_k profile image
Mahadev K •

Yeah css is a very cool language. Learning that makes life easier than including more cdn in your code

Collapse
 
brense profile image
Rense Bakker •

you still write css with css-in-js frameworks, its just in your javascript code, which has some advantages, like being able to easily reflect changes at runtime, without the need to manipulate css variables using js.

Collapse
 
k1lgor profile image
k1lgor •

nice man!!

Collapse
 
duncanteege profile image
Duncan Teege •

Haha, this is a fun way of making a comic! Well done!

Collapse
 
mustakimbee profile image
Md.Mustakim Ahmed •

Cool 👌

Some comments may only be visible to logged-in visitors. Sign in to view all comments.