From 8dda135960572d6d2b734c05ab927db52a239d39 Mon Sep 17 00:00:00 2001 From: Jeff Avallone Date: Mon, 29 Dec 2014 18:01:10 -0500 Subject: [PATCH] Animating the progress bar --- src/sass/main.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/sass/main.scss b/src/sass/main.scss index 7de9437..f6d20b1 100644 --- a/src/sass/main.scss +++ b/src/sass/main.scss @@ -317,9 +317,16 @@ header { background-size: rhythm(2) rhythm(2); background-repeat: repeat-x; height: 100%; + + @include animation(progress 1.0s infinite linear); } } +@include keyframes(progress) { + 0% { background-position-x: rhythm(2); } + 100% { background-position-x: 0; } +} + #error { background: $red; color: $white;