Загрузка видео...
Не удалось загрузить видео
Making simple ✨scroll-adaptive✨ header
17,969 просмотров • 1 год назад •via X (Twitter)
Комментарии: 10

Ryan Zayne1 год назад
Here's a hook that does the same, but with an intersection observer instead of a scroll event, for perf😁

Alfon*1 год назад
Great work!

Kamenskikh Dmitriy1 год назад
Use this: animation-timeline: scroll(); animation-name: changeHeaderColor; animation-range: 0px 1px; animation-fill-mode: forwards; Instead of js scroll tracking

Thread Ripper1 год назад
useEffect + ref ?? bro?

Alfon*1 год назад
i want to see you do better lmao

oji1 год назад
screen video pake apa bg

Alfon*1 год назад
@screenstudio kak

Kamerr Ezz1 год назад
I like the idea, I will put it in my next project.

Sujoy1 год назад
I build this feature using states to track and apply scroll conditions with tailwind here =>

Alfon*1 год назад
Interesting, Nice!
