Animated no-element typewriter

A drawing of a typewriter cartoon using CSS with no HTML elements… or not?

Alvaro Montoro
Apr 27, 2019

After sharing a typewriter effect with CSS, @afif beat the drums of “CSS War” and created a different solution, and @inhuofficial hopped in and is preparing a “type-righter”… Here’s another entry: an animated no-element cartoon of a typewriter.

And the demo on CodePen (click the “re-run” button at the bottom right corner to see the animation again):

The pen above does not have an HTML tab because there is no HTML code. The trick? CodePen adds a basic HTML structure –including the <body> tag–, so we can add styles via CSS to the body, and it will look like there aren't any HTML elements, but in reality, there are some... they are just hiding!

Originally published at https://dev.to on April 27, 2019.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Alvaro Montoro
Alvaro Montoro

Written by Alvaro Montoro

Full-Stack Software Engineer, Mobile Developer, Web technologies enthusiast. CSS aficionado. Twitter: @alvaro_montoro

No responses yet

Write a response