flpolprojects commited on
Commit
cfbf71b
·
verified ·
1 Parent(s): 8cb1ca6

Update script.js

Browse files
Files changed (1) hide show
  1. script.js +0 -1
script.js CHANGED
@@ -57,7 +57,6 @@ if ('ontouchstart' in window) {
57
  const yAxis = (window.innerHeight / 2 - e.pageY) / 8;
58
  product.style.transform = `perspective(3000px) rotateY(${xAxis}deg) rotateX(${yAxis}deg)`;
59
  });
60
- // Дополнительная анимация при наведении на продукт
61
  product.addEventListener('mouseenter', () => {
62
  product.style.filter = 'brightness(1.5)';
63
  });
 
57
  const yAxis = (window.innerHeight / 2 - e.pageY) / 8;
58
  product.style.transform = `perspective(3000px) rotateY(${xAxis}deg) rotateX(${yAxis}deg)`;
59
  });
 
60
  product.addEventListener('mouseenter', () => {
61
  product.style.filter = 'brightness(1.5)';
62
  });