Skip to content

Commit

Permalink
added transitions
Browse files Browse the repository at this point in the history
  • Loading branch information
SidoJain committed Feb 13, 2024
1 parent b49e163 commit 5616539
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ search.addEventListener('click', () => {
func404();
}, 1500);
}
else if (container.style.height == '400px') {
container.classList.add('exit404');
setTimeout(() => {
container.classList.remove('exit404');
func404();
}, 1500);
}
else
func404();
return;
Expand Down

0 comments on commit 5616539

Please sign in to comment.