Video yükleniyor...
Video Yüklenemedi
Making simple ✨scroll-adaptive✨ header
17,969 görüntüleme • 1 yıl önce •via X (Twitter)
10 Yorum

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*1 yıl önce
Great work!

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 Ripper1 yıl önce
useEffect + ref ?? bro?

Alfon*1 yıl önce
i want to see you do better lmao

oji1 yıl önce
screen video pake apa bg

Alfon*1 yıl önce
@screenstudio kak

Kamerr Ezz1 yıl önce
I like the idea, I will put it in my next project.

Sujoy1 yıl önce
I build this feature using states to track and apply scroll conditions with tailwind here =>

Alfon*1 yıl önce
Interesting, Nice!
