mirror of
https://github.com/FranP-code/Tic-Tac-Toe-Game.git
synced 2025-10-12 23:52:39 +00:00
Added some style logic
This commit is contained in:
11
script/game-functions/showTicTacToe.js
Normal file
11
script/game-functions/showTicTacToe.js
Normal file
@@ -0,0 +1,11 @@
|
||||
export default function showTicTacToe() {
|
||||
|
||||
const game = document.getElementsByClassName('game')[0]
|
||||
|
||||
setTimeout(() => {
|
||||
|
||||
game.classList.remove('hidden')
|
||||
game.classList.add('animate__fadeInDown')
|
||||
|
||||
}, 1000);
|
||||
}
|
||||
Reference in New Issue
Block a user