This commit is contained in:
j 2021-10-22 09:21:43 +01:00
commit b2fdabeb59
3 changed files with 37 additions and 4 deletions

View file

@ -8,5 +8,5 @@ document.querySelectorAll('.animated-title').forEach(element => {
var randomDuration = Math.random() * animationDuration;
element.querySelectorAll('.text').forEach(text => {
text.style.animationDelay = -randomDuration + 's';
}
})
})