Easy Typewriter Animation in Pure CSS | No JavaScript

preview_player
Показать описание
Unlock the charm of the CSS typewriter effect on your website with this step-by-step tutorial. In this video, we'll explore creating a typewriter animation using pure HTML and CSS, eliminating the need for JavaScript. Dive into the world of CSS animations and discover how to bring CSS text reveals animation to your web content.

Learn the intricacies of CSS step() functions, delve into HTML typing animations, and explore HTML writing effects to enhance your website's visual appeal. Elevate your web skills by implementing a CSS typewriter effect that adds a professional touch to your content.

Don't forget to like, share, and subscribe for more web design tips.

Subscribe and never miss a beat
-----------------------------------------------------

Learn at your own pace
-----------------------------------------------------

Connect, share, and grow
-----------------------------------------------------

#css #cssanimation #typewriter #codingtips #webdevtutorial #csstutorial #csstips #cssmagic #cssshorts #cssforbeginners #csstricks #css3 #learncss #optimisticweb
Рекомендации по теме
Комментарии
Автор

Go ahead and play around with the code! Check out the live demo by clicking the link in the description.

OptimisticWeb
Автор

This is why I love css. Don't question the extra syntax they added to replicate JavaScript

Cxrruptwd
Автор

It's crazy what folks are doing with vanilla CSS.
CSS feels like an extremely potent weapon that you don't know the power of until you wield it.

lator
Автор

The key is using steps in the animation of the width. This is genius. Thanks for sharing this!

andreastaranetz
Автор

omg, i swear this short appears just on the right time !! i was just about to do this using grid property and arrays :)

otaku
Автор

Thanks broo❤ keep going up for new beginner lik us..

alokmeher
Автор

Wow dude this is so cool. YT algo bugged out and actually recommended a really useful video for once

wanderlust
Автор

Thank you Boss! This relaxed me after hours of coding jam-packed JavaScript codes.

nayananand
Автор

Nice! instantly saved for future works! thank ya ;)

StixxLetsPlay
Автор

I always wondered how this was done, thanks for explaining step by step 🙏

samuelnjau
Автор

For better looking (it does a little bit of extra characters sometimes), do 21 instead of 22 (as it has 21 characters including whitespaces)

millerkodish
Автор

Really like your explanation on why we are doing the thing very nice👌👌👌

dm.designermohit
Автор

First video I'm watching on your channel and I this channel

Sir_Samuel_
Автор

This is awesome - cheers!

I installed the latest VSCode to try this - the one with Copilot built in. I named the the file typewriter.html and in the Copilot prompt typed "html 5 doc". It generated sample code that looked almost identical to this! Amazing I thought...then ran it and it didn't work! (The code in the vid did though)

therealfodder
Автор

Thanks soooo much, didn't this works in CSS alone

ONE-THING-RAY
Автор

Some characters are clipped in the animation, as I'm sure you saw. 21 is the length + 1 for empty state, and using monospaced font, so it's curious you're getting fractional increments. Maybe better results with 0ch to 21ch? Is content-box on, so that the cursor doesn't add width? Nice CSS-only solution, but it does require a coupling to string length.

tmmrtn
Автор

This is good if you only have one message to animate.
If you want arbitrary string length it would probably be better to work some JS in, especially if you have multiline text.

ragnarok
Автор

This is so brilliant. I wish I could do something similar with another font that's not monospace.

jestinjoshi
Автор

I would probably argue that it’s not exactly a “typewriter” effect but instead a “text input” effect, or something along those lines, considering typewriters don’t have cursors, but computer screens do. Probably, but it’s raining outside and I feel cozy enough to let it be.

RaineWilder
Автор

I was anxious to get home and try this in my project but unfortunatelly it doesn't work for multiple lines. Still useful for short text though

pocoloco