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

CSS Games Developer

cartoon of a king seating in a throne

CSS Animation: The King and the Fly

codepen showdev

A CSS animation of a king and an annoying fly.

You can turn on/off the animations (off by default). If you turn them on, the sound of the fan working like crazy will make for the buzzing of the fly 😋😳

I was thinking about adding some candelabra and maybe a couple of guards/knights (one done, one to go). Any suggestions?

Article originally published on