diff --git a/src/components/Game.scss b/src/components/Game.scss index a42bbe2..7043b87 100644 --- a/src/components/Game.scss +++ b/src/components/Game.scss @@ -35,6 +35,8 @@ width: 60px; height: 60px; - background: transparent url('/images/covid-sprite.png') no-repeat top center; - background-size: 100% auto; + background: transparent url('/images/covid-sprite-animate.png') no-repeat top center; + background-size: auto 60px; + + animation: background-animation 2s steps(5) infinite; } \ No newline at end of file diff --git a/src/images/covid-sprite-animate.png b/src/images/covid-sprite-animate.png new file mode 100644 index 0000000..20fa67e Binary files /dev/null and b/src/images/covid-sprite-animate.png differ