Добавила видео в product.

This commit is contained in:
Yulia Polushvayko
2025-06-06 17:11:04 +03:00
parent 1948683d55
commit 3d94a34c50
5 changed files with 104 additions and 1 deletions

View File

@ -42,7 +42,9 @@ gsap.from('.home-l', 1.5, { opacity: 0, y: 300, delay: 0.8 });
if (window.innerWidth <= 766) {
gsap.from('.home-content', 1.5, { opacity: 0, y: -300, delay: 0.8 });
gsap.from('.home-title img', 1.5, { opacity: 0, x: 100, delay: 1.3 });
gsap.from('.product-video', 1.5, { opacity: 0, y: 300, delay: 0.8 });
} else {
gsap.from('.home-content', 1.5, { opacity: 0, x: -300, delay: 0.8 });
gsap.from('.home-title img', 1.5, { opacity: 0, x: 300, delay: 1.2 });
gsap.from('.product-video', 1.5, { opacity: 0, x: 300, delay: 0.8 });
}