fade out
All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 1m56s
All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 1m56s
This commit is contained in:
@@ -1040,9 +1040,11 @@
|
|||||||
entries.forEach(function(entry) {
|
entries.forEach(function(entry) {
|
||||||
if (entry.isIntersecting) {
|
if (entry.isIntersecting) {
|
||||||
entry.target.classList.add('revealed');
|
entry.target.classList.add('revealed');
|
||||||
|
} else {
|
||||||
|
entry.target.classList.remove('revealed');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}, { threshold: 0.1 });
|
}, { threshold: 0, rootMargin: '-40px 0px' });
|
||||||
reveals.forEach(function(el) { revealObserver.observe(el); });
|
reveals.forEach(function(el) { revealObserver.observe(el); });
|
||||||
|
|
||||||
// Stat counter
|
// Stat counter
|
||||||
|
|||||||
Reference in New Issue
Block a user