Entrance Transitions

Skip to main content
Table of Contents
Print

Master Scroll-Reveal Animations and Choreographed Page-Load Sequences for Cinematic Counter Appearances

🎬 Overview: First Impressions Matter

Your view counter doesn’t just appear—it makes an entrance. The difference between a counter that simply “exists” and one that captures attention lies in those first few milliseconds: the transition from invisible to visible, static to animated, hidden to revealed.

Entrance Transitions are the art of orchestrating how your counter enters the user’s awareness. Think of them as the opening credits to your product page—done right, they set the tone, guide the eye, and create a sense of polish that elevates your entire brand.

“Animation gives movement context. Entrance transitions give movement meaning.”
— The WhoKnew Views Design Philosophy

💡 What This Article Covers: This article focuses on On Load and On Scroll trigger modes—the two entrance scenarios. For hover-triggered animations, see the Hover Effects article.


🎯 The Two Entrance Scenarios

Every counter entrance falls into one of two categories, each with distinct use cases and technical behavior:

ScenarioTriggerWhen It FiresBest For
Immediate EntranceOn LoadPage finishes loading (DOM ready)Counters at top of page, instant attention
Scroll-RevealOn ScrollCounter scrolls into viewportCounters below fold, progressive disclosure

🧩 The Fundamental Question

“Is my counter visible when the page loads, or do users have to scroll to see it?”

  • Visible on load? → Use On Load trigger
  • Below the fold? → Use On Scroll trigger
  • Not sure? → Test on actual product pages (varies by theme/screen size)

🚀 Scenario 1: Immediate Entrance (On Load)

Trigger Setting: On Load
Technical Behavior: Animation starts as soon as the DOM is ready
User Experience: Counter animates into view within first 1-2 seconds of page appearing

🎨 When to Use On Load

SituationWhy On Load Works
Counter is in product gallery (top 50% of page)Visible immediately—no scroll required
Mobile layouts (counter often at top)Mobile users see counter first
You want maximum early attentionAnimation grabs eyes within first 2 seconds
Counters are key selling pointInstant visibility = immediate social proof

⚙️ How It Works (Technical Deep Dive)

When you set a trigger to On Load, the CSS animation is applied directly to the element with no conditional class:

/* Example: Icon Animation set to "Rotate" with "On Load" trigger */
.view-counter-icon {
    animation: icon-rotate 2s ease infinite;
    animation-delay: 0.5s;
}

The animation starts as soon as the CSS is parsed, typically within 100-500ms of page load (depending on network speed).

🔍 Key Characteristics
  • No JavaScript required – Pure CSS, instant execution
  • Reliable timing – Consistent across all users/devices
  • Performance-friendly – No scroll listeners, no Intersection Observer overhead
  • Predictable – Always fires, regardless of user scroll behavior

⚡ Pro Tip: On Load animations are automatic—users don’t need to do anything. Use them for counters you want everyone to see, even if they bounce immediately.

📊 Best Animations for On Load

Subtle Entrances (Professional Stores)
  • Fade In (Wrapper) – 0.8-1.2s
  • Scale Grow – 0.5-1.0s
  • Slide Up (Wrapper) – 1.0-1.5s
Moderate Entrances (Balanced Attention)
  • Bounce (Wrapper) – 1.0-1.5s
  • Pop (Wrapper) – 0.6-1.0s
  • Pulse (Icon) – 2.0-3.0s, Infinite
Bold Entrances (High-Energy Stores)
  • Flip (Wrapper) – 1.2-1.8s
  • Spin (Rotation) – 1.5-2.0s
  • Gradient Shift (Background) – 3.0-5.0s, Infinite

📜 Scenario 2: Scroll-Reveal (On Scroll)

Trigger Setting: On Scroll
Technical Behavior: Animation triggers when counter scrolls into viewport
User Experience: Counter animates into view as user scrolls down the page

🎨 When to Use On Scroll

SituationWhy On Scroll Works
Counter is below fold (requires scrolling to see)Animation triggers when visible, not wasted on hidden state
Long product pages (lots of content above counter)Reveals counter dramatically when user reaches it
You want to reward scrollersCreates “discovery moment” for engaged users
Performance concerns (many animations)Delays animation until actually needed

⚙️ How It Works (Technical Deep Dive)

Scroll-reveal is powered by the Intersection Observer API (with a fallback for older browsers). Here’s the complete flow:

Step 1: Initial State (Animation Paused)

When On Scroll is selected, the CSS sets up the animation but pauses it:

/* Animation is defined but NOT running yet */
.view-counter-icon {
    animation: icon-rotate 2s ease infinite;
    animation-delay: 0.5s;
    animation-play-state: paused; /* Frozen until scroll */
}
Step 2: JavaScript Scroll Detection

WhoKnew Views loads a lightweight JavaScript snippet that watches for scroll events:

// Simplified version of actual implementation
const observer = new IntersectionObserver((entries) => {
    entries.forEach(entry => {
        if (entry.isIntersecting && hasScrolled) {
            entry.target.classList.add("visible"); // Magic happens here
        }
    });
}, { threshold: 0.1 }); // Trigger when 10% visible
Step 3: Adding the “visible” Class

When the counter scrolls into view, the JavaScript adds a .visible class, which unpauses the animation:

.view-counter-icon.visible {
    animation-play-state: running; /* NOW it plays */
}

🔍 Key Technical Details

AspectHow It Works
Threshold0.1 (10% of counter must be visible to trigger)
First Scroll BehaviorIf counter is initially visible, animation triggers on first scroll action (even 1px scroll)
Browser SupportIntersection Observer (Chrome 51+, Firefox 55+, Safari 12.1+) with scroll fallback for IE11
PerformanceVery efficient—Intersection Observer is GPU-accelerated
Re-triggerAnimation fires once per page load (doesn’t re-trigger if user scrolls back up)

⚠️ Important Behavior: If your counter is visible when the page loads (e.g., at top of page), the On Scroll animation will still wait for the first scroll action before triggering. This prevents animations from playing before users have oriented themselves on the page.

📊 Best Animations for On Scroll

Dramatic Reveals (Recommended)
  • Slide Up (Wrapper) – 1.2-2.0s – Counter rises from below
  • Fade In (Wrapper) – 1.5-2.5s – Ghostly appearance
  • Scale Grow – 1.0-1.8s – Zooms into existence
Attention-Grabbing (Bold)
  • Bounce (Wrapper) – 1.5s, Count: 3 – Bounces in energetically
  • Flip (Wrapper) – 1.2s – 3D card flip reveal
  • Spin (Icon) – 1.5s – Icon spins in as wrapper appears
Subtle (Elegant)
  • Fade In + Pulse (Icon) – Wrapper fades, icon gently pulses
  • Slide Right (Wrapper) – 1.0s – Glides in from left edge

🎼 Choreography: Multi-Layer Entrance Sequences

The magic of entrance transitions isn’t in single animations—it’s in how you layer and sequence multiple animation systems to create a unified, choreographed entrance.

🎭 The Three Layers of Entrance

  1. Background Layer – Subtle, slow (3-5s) – Sets ambient tone
  2. Wrapper/Container Layer – Medium speed (1-2s) – Main entrance movement
  3. Icon/Text Layer – Fast or looping (0.5-2s) – Final attention detail

🎹 Using Delays to Create Sequences

The Animation Delay setting is your choreography tool. By staggering delays across systems, you create a cascade of animations instead of simultaneous chaos.

Example: The “Waterfall” Entrance
SystemAnimationTriggerDurationDelayOrder
BackgroundFadeOn Load2.0sNone🥇 First
WrapperSlide UpOn Load1.5s0.5s🥈 Second
IconPulseOn Load2.5s1.5s🥉 Third

Timeline:

0.0s: Background starts fading in
0.5s: Wrapper starts sliding up (while background still fading)
1.5s: Icon starts pulsing (wrapper finishes sliding)
2.0s: Background finishes fading
4.0s: Icon continues pulsing infinitely

Result: A smooth, three-act entrance that unfolds over 2 seconds, with the icon providing continuous motion afterward.

🎯 Choreography Principle:“Faster animations should start later.” Long, slow animations (background fades) start first. Quick, punchy animations (icon spin) start last. This creates a sense of building momentum.

🎨 Pre-Built Choreography Recipes

Recipe 1: “The Professional”

Goal: Elegant, understated entrance for corporate stores

LayerAnimationTriggerDurationDelay
BackgroundFadeOn Load3.0sNone
WrapperFade InOn Load1.2s0.3s
ScaleGrowOn Mouseover0.3sNone

Analysis: Slow background pulse + quick wrapper fade + hover scale = subtle sophistication.


Recipe 2: “The Showstopper”

Goal: Dramatic, cinematic entrance for high-energy stores

LayerAnimationTriggerDurationDelay
WrapperFlipOn Scroll1.5sNone
IconSpinOn Scroll1.2s0.8s
BackgroundGradient ShiftOn Load4.0sNone

Analysis: Wrapper flips in 3D when scrolled into view, icon spins shortly after, while background continuously shifts colors from page load.


Recipe 3: “The Scroll Cascade”

Goal: Progressive reveal with staggered scroll triggers

LayerAnimationTriggerDurationDelay
BackgroundFadeOn Scroll2.0sNone
WrapperSlide RightOn Scroll1.5s0.5s
IconRotateOn Scroll1.0s1.5s

Analysis: All three layers trigger on scroll but with staggered delays—creates a “domino effect” entrance.


🛠️ Troubleshooting Entrance Issues

Issue 1: “On Scroll animation plays immediately on page load”

Root Cause

Your counter is visible in the viewport when the page loads (not below the fold). The On Scroll trigger waits for the first scroll action—even if the element is already visible.

✅ Solutions
  • Switch to On Load – If counter is always visible on load, use On Load instead.
  • Accept the behavior – The “first scroll” trigger is intentional—it gives users a moment to orient before animations start.
  • Test on actual devices – What’s “above fold” on desktop may be below fold on mobile.

Issue 2: “On Scroll animation never triggers”

Possible Causes
  1. JavaScript not loading – Check browser console for errors.
  2. Element never enters viewport – Counter may be hidden by CSS or positioned off-screen.
  3. Intersection Observer not supported – Very old browsers (IE10 and below).
✅ Diagnostic Steps
  1. Open browser console (F12) and look for JavaScript errors.
  2. Scroll slowly and watch for the .visible class being added (inspect element).
  3. Test in Chrome/Firefox first (best support) before testing in Safari/Edge.
  4. Verify counter is actually visible on the page (not hidden by theme CSS).

Issue 3: “Entrance animations look janky/laggy”

Root Cause

Complex 3D animations (Flip, Twist, Spin) on low-end devices, or too many animations running simultaneously.

✅ Fixes
  • Reduce animation complexity – Switch from 3D (Flip) to 2D (Slide).
  • Increase duration – Slower animations (1.5-2.5s) are smoother than fast ones (0.3-0.5s).
  • Limit simultaneous animations – Choreograph with delays instead of firing all at once.
  • Test on mobile – Always test on actual mobile devices, not just browser emulation.

Issue 4: “Choreography feels chaotic/random”

Root Cause

Delays not properly staggered, or too many bold animations (Bounce + Flip + Spin) competing for attention.

✅ Design Fixes
  • Pick one “hero” animation – Let one system be dramatic (e.g., Wrapper Flip), keep others subtle (Background Fade, Icon Pulse).
  • Use consistent delay increments – Stagger by 0.5s intervals: 0s, 0.5s, 1.0s, 1.5s.
  • Follow the layer principle – Slow/subtle first (Background), fast/bold last (Icon).
  • Test with fresh eyes – Show someone else—if they say “overwhelming,” simplify.

🎓 Best Practices & Guidelines

✅ Do’s

  • Match trigger to counter position – On Load for above-fold, On Scroll for below-fold
  • Use delays to create sequences – Stagger by 0.5-1.0s for natural flow
  • Keep entrance durations medium – 1-2s is the sweet spot (not too fast, not too slow)
  • Test on actual product pages – Themes vary wildly in layout
  • Combine entrance (On Load/Scroll) with hover (On Mouseover) – Two-stage animation: entrance + interaction
  • Use subtle animations for looping – Bold entrances (Flip) → subtle loops (Pulse)

❌ Don’ts

  • Don’t use On Scroll for above-fold counters – Users won’t scroll; animation delayed unnecessarily
  • Don’t make entrances too fast – <0.5s feels rushed and jarring
  • Don’t choreograph 5+ layers – Keep it to 2-3 animation systems max
  • Don’t forget about mobile – Entrance animations can feel different on small screens
  • Don’t use aggressive entrances (Shake, Wobble) on page load – Annoying before users are engaged

📚 Technical Reference: Intersection Observer Details

For developers and advanced users, here’s exactly how the scroll-reveal system works:

🔍 Threshold Setting

WhoKnew Views uses threshold: 0.1, meaning the animation triggers when 10% of the counter is visible.

const observer = new IntersectionObserver((entries) => {
    entries.forEach(entry => {
        if (entry.isIntersecting && hasScrolled) {
            entry.target.classList.add("visible");
        }
    });
}, { threshold: 0.1 }); // 10% visibility triggers animation
Why 10% (Not 50% or 100%)?
  • User Experience: Animation starts just before counter is fully visible, creating anticipation
  • Mobile-Friendly: Small screens may only show small portions at a time; 10% ensures triggers work reliably
  • Performance: Lower threshold = earlier trigger = smoother perceived performance

🧠 “First Scroll” Logic

Why does On Scroll wait for the first scroll action, even if the counter is already visible?

Design Decision: Prevents animations from playing before users have oriented themselves on the page. The first scroll action signals “user is ready to engage”—then animations fire.

This creates a more intentional, less jarring experience than immediate animation on page load.


🎬 Philosophy: When Less is More

The most common entrance mistake? Over-animation. More animations ≠ better experience.

The Hierarchy of Impact

  1. Silence (no animation) – Baseline, neutral
  2. Subtle entrance (Fade In, 1.5s) – Polished, professional
  3. Moderate entrance (Slide Up, 1.2s) – Engaging, dynamic
  4. Bold entrance (Flip, 1.5s) – Attention-grabbing, energetic
  5. Overwhelming entrance (Flip + Bounce + Spin simultaneously) – Counterproductive

The Law of Diminishing Returns: Going from “no animation” to “subtle animation” creates massive perceived quality increase. Going from “moderate” to “bold” creates small increase. Going from “bold” to “overwhelming” decreases perceived quality.

🚀 Final Wisdom: The best entrance transition is the one users don’t consciously notice but subconsciously appreciate. It should feel polished, not performative.

Share