Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

Making simple ✨scroll-adaptive✨ header

17,969 görüntüleme • 1 yıl önce •via X (Twitter)

10 Yorum

Ryan Zayne profil fotoğrafı
Ryan Zayne1 yıl önce

Here's a hook that does the same, but with an intersection observer instead of a scroll event, for perf😁

Alfon* profil fotoğrafı
Alfon*1 yıl önce

Great work!

Kamenskikh Dmitriy profil fotoğrafı
Kamenskikh Dmitriy1 yıl önce

Use this: animation-timeline: scroll(); animation-name: changeHeaderColor; animation-range: 0px 1px; animation-fill-mode: forwards; Instead of js scroll tracking

Thread Ripper profil fotoğrafı
Thread Ripper1 yıl önce

useEffect + ref ?? bro?

Alfon* profil fotoğrafı
Alfon*1 yıl önce

i want to see you do better lmao

oji profil fotoğrafı
oji1 yıl önce

screen video pake apa bg

Alfon* profil fotoğrafı
Alfon*1 yıl önce

@screenstudio kak

Kamerr Ezz profil fotoğrafı
Kamerr Ezz1 yıl önce

I like the idea, I will put it in my next project.

Sujoy profil fotoğrafı
Sujoy1 yıl önce

I build this feature using states to track and apply scroll conditions with tailwind here =>

Alfon* profil fotoğrafı
Alfon*1 yıl önce

Interesting, Nice!

Benzer Videolar