Video wird geladen...
Video konnte nicht geladen werden
Using the CSS Custom Highlight API to create dynamic typing animations ✨ No need to update or change the DOM content 👀 The content is always there, you're jus' highlighting it to create the effect!
86,763 Aufrufe • vor 1 Jahr •via X (Twitter)
10 Kommentare

Here's the @CodePen for this one 🚀 Input anything and it'll randomly type it out 👇 Could easily turn it into a little component or something. Threw this one together quick with GSAP

so good man. wow the amount of times i wrote this in js in the last 15 years is insane

Ha 😅 This way there's more time to focus on adding random natural pauses. Put in a rudimentary solution where it randomly pauses on spaces and then changes the wpm 🤔

Your codepen setup to showcase stuff is SO good. I love the demos but the controls are what make them pop the most. Amazing stuff!

src?

Nice! What is the browser support on this API?

Looks like this was added cause ChatGPT needed it.

finally something not related to AI

Love your codepen "template". Layer base is 🔥

I should do a post/write up on it or my set up 🤔 Saves me a lot of time for real 💯

