Image Flip and Rotation on Scroll

Effect: Images rotate or flip as the user scrolls.

How to implement:

  • Use Scroll Navigation widget to structure sections.
  • Add JetElements Image Comparison widget to create before/after effects.
  • Apply Rotate or Flip animation from Elementor’s Motion Effects.
  • Adjust the rotation angle and animation delay for a dynamic effect.

đź’ˇ Best for before/after comparisons, transformations, or storytelling visuals.

Steps:

  1. Add an Image Widget in Elementor:

    • Insert an Image widget into a section.
  2. Enable Rotation Animation:

    • Click the Image widget, then go to Advanced > Motion Effects.
    • Select Rotate or Flip animation.
  3. Sync with Scroll Navigation:

    • Add Scroll Navigation widget and link each section.
    • Apply delayed animation for a smooth transition.

đź’ˇ Perfect for dynamic portfolios, galleries, or creative design elements.

				
					.flip-image {
  transform: rotateY(90deg);
  transition: transform 0.8s ease-out;
}

.flip-image.visible {
  transform: rotateY(0);
}

				
			
				
					document.addEventListener("DOMContentLoaded", function() {
    let flipImages = document.querySelectorAll(".flip-image");

    function flipOnScroll() {
        flipImages.forEach(image => {
            let imgTop = image.getBoundingClientRect().top;
            if (imgTop < window.innerHeight * 0.8) {
                image.classList.add("visible");
            }
        });
    }

    window.addEventListener("scroll", flipOnScroll);
    flipOnScroll();
});

				
			

How to Implement:

  1. Add an Image in Elementor → Advanced > CSS Class → Add flip-image.
  2. Insert the CSS code in Elementor > Custom CSS.
  3. Insert the JavaScript code in Elementor > Custom Code.

đź’ˇ Works well for creative designs or before/after effects.

There are no bots on this site.

WP Woman is powered by H.I.* only!

* human intelligence 🙂