Добавила видео в product.
This commit is contained in:
2
main.js
2
main.js
@ -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 });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user