Hi everybody
I see this website page, and I see the button effect
Can you give me an example of its code?
Sorry I don't have a codepen
I just need to refer to its text effect
Thanks all!
var e = t.querySelectorAll("[data-hover-animation-first-el] [data-hover-animation-str]");
mi.fromTo(e, {
y: "0%"
}, {
y: "-100%",
ease: "power4.easeOut",
stagger: {
each: .015
}
});
var n = t.querySelectorAll("[data-hover-animation-second-el] [data-hover-animation-str]");
mi.fromTo(n, {
y: "0%"
}, {
y: "-100%",
ease: "power4.easeInOut",
stagger: {
each: .024
}
})
Website:
https://nakatani-tac.jp/
https://gyazo.com/8740ec7ff8c4450812fe813377ecfe3d