tcmulder / aquamin

Aquamin WordPress Theme
3 stars 1 forks source link

Update parallax ani. #41

Closed tcmulder closed 1 year ago

tcmulder commented 1 year ago

For parallax ani, replace item.subEl.style[item.property] = newValue; with item.subEl.style.setProperty(item.property, newValue);.

OR, actually consider overhauling with VR's system. Add documentation for parallax ani: you add data-scroll-property (e.g. —amount), then curlies for data-scroll-value (e.g. {360}deg).