Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

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

Profilbild von jhey ▲🐻🎈
jhey ▲🐻🎈vor 1 Jahr

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

Profilbild von Pedro Duarte
Pedro Duartevor 1 Jahr

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

Profilbild von jhey ▲🐻🎈
jhey ▲🐻🎈vor 1 Jahr

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 🤔

Profilbild von Julián Pinzón Eslava
Julián Pinzón Eslavavor 1 Jahr

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!

Profilbild von Unreal3v 🌳
Unreal3v 🌳vor 1 Jahr

src?

Profilbild von Nir Galon
Nir Galonvor 1 Jahr

Nice! What is the browser support on this API?

Profilbild von Anthony Miller
Anthony Millervor 1 Jahr

Looks like this was added cause ChatGPT needed it.

Profilbild von hola
holavor 1 Jahr

finally something not related to AI

Profilbild von lear
learvor 1 Jahr

Love your codepen "template". Layer base is 🔥

Profilbild von jhey ▲🐻🎈
jhey ▲🐻🎈vor 1 Jahr

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

Ähnliche Videos