From 087e77a7ceeeae078ccba9a8e61f4d048409f3c3 Mon Sep 17 00:00:00 2001 From: Mohamed Abdallah Fall Date: Wed, 2 Nov 2022 01:34:07 +0000 Subject: [PATCH] ScrollReveal --- index.html | 3 +++ name.js | 9 +++++++++ 2 files changed, 12 insertions(+) diff --git a/index.html b/index.html index 424bf52..53b8b97 100644 --- a/index.html +++ b/index.html @@ -969,6 +969,9 @@

Contact

+ + + diff --git a/name.js b/name.js index 7af24b7..e216686 100644 --- a/name.js +++ b/name.js @@ -34,6 +34,15 @@ let typedKarate = new Typed("#text6", { }); +//Scrollreveal +const sr = ScrollReveal({ + distance: '0px', + duration: 2500, + reset: false +}) + +sr.reveal('.home-content',{delay:190, origin:'bottom'}) +sr.reveal('.qsj, .competences, .projets, .contact',{delay:200, origin:'bottom'}) // const text1 = document.querySelector('.text-1'); // const text2 = document.querySelector('.text-2');