Uncover the Extraordinary at Our Rare Collections Website

Author: FUDAGAME

document.addEventListener('DOMContentLoaded', () => { const elements = document.querySelectorAll('.fade-in'); const observer = new IntersectionObserver((entries) => { entries.forEach(entry => { if (entry.isIntersecting) { entry.target.classList.add('visible'); } }); }); elements.forEach(element => observer.observe(element)); });