diff --git a/index.html b/index.html
index 25e390f..6e1e8d5 100644
--- a/index.html
+++ b/index.html
@@ -147,6 +147,20 @@
What is Glide Client?
card.style.setProperty('--mouse-y', `${e.clientY - rect.top}px`);
});
});
+
+ const observer = new IntersectionObserver((entries) => {
+ entries.forEach(entry => {
+ if (entry.isIntersecting) {
+ entry.target.classList.add('visible');
+ }
+ });
+ }, {
+ threshold: 0.1
+ });
+
+ document.querySelectorAll('.card').forEach(card => {
+ observer.observe(card);
+ });