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,910 Aufrufe • vor 2 Jahren •via X (Twitter)

10 Kommentare

Profilbild von jhey ▲🐻🎈
jhey ▲🐻🎈vor 2 Jahren

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 2 Jahren

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 2 Jahren

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 2 Jahren

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 2 Jahren

src?

Profilbild von Nir Galon
Nir Galonvor 2 Jahren

Nice! What is the browser support on this API?

Profilbild von Anthony Miller
Anthony Millervor 2 Jahren

Looks like this was added cause ChatGPT needed it.

Profilbild von hola
holavor 2 Jahren

finally something not related to AI

Profilbild von lear
learvor 2 Jahren

Love your codepen "template". Layer base is 🔥

Profilbild von jhey ▲🐻🎈
jhey ▲🐻🎈vor 2 Jahren

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

Ähnliche Videos