diff --git a/css/game.scss b/css/game.scss index a870119..9c86065 100644 --- a/css/game.scss +++ b/css/game.scss @@ -42,6 +42,7 @@ } } } + #game{ #playfield{ background: rgb(180, 124, 52); @@ -80,4 +81,12 @@ } } } -} \ No newline at end of file +} + +@keyframes invalid-move-animation { + 0% { transform: translateX(0) } + 25% { transform: translateX(5px) } + 50% { transform: translateX(-5px) } + 75% { transform: translateX(5px) } + 100% { transform: translateX(0) } + } \ No newline at end of file diff --git a/index.html b/index.html index f44a89f..ce4715f 100644 --- a/index.html +++ b/index.html @@ -9,13 +9,9 @@ -
-
- -
+
+
- -