fix CTA link hide animation
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
const cta = document.querySelector(".cta");
|
||||
const link = document.querySelector(".cta-link");
|
||||
const nav = document.querySelector("nav");
|
||||
|
||||
if (cta && nav) {
|
||||
@@ -10,6 +11,7 @@ document.addEventListener("DOMContentLoaded", function() {
|
||||
|
||||
setTimeout(() => {
|
||||
nav.style.setProperty("margin-top", "1%", "important");
|
||||
link.style.setProperty("display", "none", "important");
|
||||
}, 500);
|
||||
}, 10000);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user