Motion Lab / Heroes / video shader / minimal
// Mechanisme: hero-video-shader-minimal import gsap from 'https://esm.sh/[email protected]'; // Pas toe op je eigen selector — geen stijlkeuzes hier. import gsap from 'https://esm.sh/[email protected]'; if(window.matchMedia('(prefers-reduced-motion: reduce)').matches)return; const v=document.querySelector('.shader-video,.hero-video');if(v)gsap.to(v,{filter:'hue-rotate(15deg) saturate(1.8)',duration:0.9,repeat:5,yoyo:true,repeatDelay:3,delay:1,ease:'power2.out'});
<!-- Skeleton: hero-video-shader-minimal --> <div class="demo-block"> <!-- DOM-structuur hier --> </div>
/* Styling: hero-video-shader-minimal */
:root {
--block-bg: ;
--block-fg: ;
--block-accent: ;
}