Upcoming

How To Make Reveal Text on Scroll Using Elementor Free

Tools and Links Used

Hostinger Fast, beginner friendly WordPress hosting.
Get Hosting
Elementor The free page builder this tutorial is built with.
Get Elementor
Elementor Pro The Pro upgrade used throughout this tutorial.
Get Elementor Pro
Project Files Download the resources used in this tutorial.
Download Files
Kitpapa Ready made Elementor template kits.
Get Templates
Kitninja eCommerce Elementor template kits.
Get Templates

Prompt Used in This Tutorial

Reveal Text on Scroll Style CSS
<style>
.image-container {
  perspective: 1000px;
}

.scroll-image {
  will-change: transform;
  transition: transform 1s ease-in-out;
  transform-style: preserve-3d;
  z-index: 99;
}

.scroll-image.left {
  transform: translate3d(0px, 0px, 0px)
    scale3d(1, 1, 1)
    rotateZ(0deg)
    skew(0deg, 0deg);
}

.scroll-image.right {
  transform: translate3d(0px, 0px, 0px)
    scale3d(1, 1, 1)
    rotateZ(0deg)
    skew(0deg, 0deg);
}

.box-text{
    transform: translate(-50%, -50%);
}

@media (max-width: 767px) {
.box-text {
    position: relative !important;
    }
}
</style>
Reveal Text on Scroll CSS Classes
image-container
scroll-image
left
right
box-text
Swap Button Style CSS
.icon-swap-button {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: background 0.3s ease;
}

.icon {
  display: inline-block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.icon-1 {
  opacity: 1;
  transform: scale(1);
}

.icon-2 {
  opacity: 0;
  transform: scale(0);
  overflow: hidden;
}

.icon-swap-button:hover .icon-1 {
  opacity: 0;
  transform: scale(0);
  overflow: hidden;
}

.icon-swap-button:hover .icon-2 {
  opacity: 1;
  transform: scale(1);
}
Swap Button Style CSS Classes
icon-swap-button
icon
icon-1
icon-2
Reveal Text on Scroll JS Code
<script>
const leftImages = document.querySelectorAll(".scroll-image.left");
const rightImages = document.querySelectorAll(".scroll-image.right");

const maxSteps = 14;
const scrollRange = 1000; // Adjust based on your content height or preference

window.addEventListener("scroll", () => {
  if (window.innerWidth <= 767) return;

  const scrollTop = window.scrollY;
  const progress = Math.min(1, scrollTop / scrollRange); // Clamp between 0 and 1
  const currentStep = progress * maxSteps;

  leftImages.forEach((img, index) => {
    const x = -450 * progress;
    const y = (150 - index * 30) * progress;
    const r = -22 * progress;
    img.style.transform = `translate3d(${x}px, ${y}px, 0px)
      scale3d(1, 1, 1)
      rotateZ(${r}deg)
      skew(0deg, 0deg)`;
  });

  rightImages.forEach((img, index) => {
    const x = 450 * progress;
    const y = (150 - index * 30) * progress;
    const r = 22 * progress;
    img.style.transform = `translate3d(${x}px, ${y}px, 0px)
      scale3d(1, 1, 1)
      rotateZ(${r}deg)
      skew(0deg, 0deg)`;
  });
});
</script>

Get Your FREE Freelancing Roadmap

Stop hopping between tutorials. Grab the Freelancing Mastery Handbook to learn how to choose a skill, build your foundation, find clients, and confidently start your freelancing journey.

Free eBook Download

Related Tutorials

From learning the right skills to building a stronger digital presence, we help you turn ideas into practical, professional results.

Vibe Code a REAL Animated WordPress Website with Claude + Elementor

21.8K views

View Tutorial

Vibe Coding Full Course for Beginners – Build & Launch a Real SaaS

3.3K views

View Tutorial

Edit Videos with ChatGPT Codex — Raw Clips to Finished Reel

3.4K views

View Tutorial

Browse All Tutorials