Animating the progress bar

This commit is contained in:
Jeff Avallone 2014-12-29 18:01:10 -05:00
parent f83e0c6ea8
commit 8dda135960

View File

@ -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;