← Blurr Motion testimonial-stacking-quotes-specimen
Categorie testimonials Tier 1 Techniek #7 Deps gsap
"Design is intent made visible."
"Motion is the breath of interface."
"Great work moves."
1. Mechanisme — kopieer 1-op-1, geen styling-keuzes
// Mechanisme: testimonial-stacking-quotes-specimen
import gsap from 'https://esm.sh/gsap@3.12.5';
// Pas toe op je eigen selector — geen stijlkeuzes hier.
import gsap from 'https://esm.sh/gsap@3.12.5';
import{ScrollTrigger}from 'https://esm.sh/gsap@3.12.5/ScrollTrigger';
gsap.registerPlugin(ScrollTrigger);
if(window.matchMedia('(prefers-reduced-motion: reduce)').matches)return;
gsap.utils.toArray('.stack-card').forEach((c,i)=>gsap.fromTo(c,{scale:0.94,autoAlpha:0},{scale:1,autoAlpha:1,duration:1.6,ease:'expo.out',scrollTrigger:{trigger:c,start:'top 80%',once:true},delay:i*0.1}));
2. Skeleton — DOM + class-namen, mag herschikken
<!-- Skeleton: testimonial-stacking-quotes-specimen -->
<div class="demo-block">
  <!-- DOM-structuur hier -->
</div>
3. Styling-template — verplicht eigen invulling per merk
/* Styling: testimonial-stacking-quotes-specimen */
:root {
  --block-bg: ;
  --block-fg: ;
  --block-accent: ;
}