Animating the progress bar
This commit is contained in:
parent
f83e0c6ea8
commit
8dda135960
@ -317,9 +317,16 @@ header {
|
|||||||
background-size: rhythm(2) rhythm(2);
|
background-size: rhythm(2) rhythm(2);
|
||||||
background-repeat: repeat-x;
|
background-repeat: repeat-x;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
||||||
|
@include animation(progress 1.0s infinite linear);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@include keyframes(progress) {
|
||||||
|
0% { background-position-x: rhythm(2); }
|
||||||
|
100% { background-position-x: 0; }
|
||||||
|
}
|
||||||
|
|
||||||
#error {
|
#error {
|
||||||
background: $red;
|
background: $red;
|
||||||
color: $white;
|
color: $white;
|
||||||
|
Loading…
Reference in New Issue
Block a user