diff --git a/product.html b/product.html index 65342a5..e01fc4c 100644 --- a/product.html +++ b/product.html @@ -294,6 +294,41 @@ a{ margin: 0; } } +/* INITIAL STATES */ +.animate-on-scroll { + opacity: 0; + transform: translateY(50px); + transition: all 1s ease-out; +} + +.animate-left { + transform: translateX(-50px); +} + +.animate-right { + transform: translateX(50px); +} + +.animate-up { + transform: translateY(50px); +} + +/* ACTIVE STATE */ +.animate-on-scroll.animate { + opacity: 1; + transform: translateX(0) translateY(0); +} +.content-left.animate-on-scroll.animate { + transition-delay: 0.2s; +} + +.content-right.animate-on-scroll.animate { + transition-delay: 0.4s; +} + +/* .footer.animate-on-scroll.animate { + transition-delay: 0.6s; +} */ @@ -302,7 +337,7 @@ a{