web-html5-scripts/error-pages/503-pages/time-to-drink-coffee/script.js

18 lines
278 B
JavaScript
Raw Permalink Normal View History

const tl = gsap.timeline();
tl.to('.stroke', {
duration: 2.5,
delay: 1.8,
strokeDashoffset: 0 }).
to('.ripple', {
duration: 4,
delay: -2,
xPercent: -50,
yPercent: -60 }).
to('#turbulence', {
duration: 1.5,
delay: -2,
attr: {
baseFrequency: '0 0' } });