This commit is contained in:
2025-02-25 20:59:11 +08:00
parent 46d9f195b1
commit 0263d8a436
8 changed files with 99 additions and 40 deletions

View File

@@ -96,8 +96,8 @@
const h2 = document.getElementById("blinking");
setInterval(() => {
h2.style.opacity = (h2.style.opacity == "1") ? "0.3" : "1";
}, 1000); // Blinks every 2 seconds
h2.style.opacity = (h2.style.opacity == "1") ? "0.5" : "1";
}, 1500); // Blinks every 2 seconds
// Target all elements with the 'fade-in' class
const fadeInElements = document.querySelectorAll('.fade-in');