Skip to content

Instantly share code, notes, and snippets.

@woogist
Created March 11, 2015 16:17
Show Gist options
  • Save woogist/f4bec57d92dd6c5a0757 to your computer and use it in GitHub Desktop.
Save woogist/f4bec57d92dd6c5a0757 to your computer and use it in GitHub Desktop.
Animate the course progress bar in Sensei
/* from Sensei 1.8 we have removed the javascript animation on the course progress meter on the My Courses page. If you wish
* to restore the animation, copy this CSS into your theme's CSS file.
*/
.meter span {
-webkit-animation: meter 2s 1;
-moz-animation: meter 2s 1;
-ms-animation: meter 2s 1;
animation: meter 2s 1;
}
@-webkit-keyframes meter {
from { width: 0; }
}
@-moz-keyframes meter {
from { width: 0; }
}
@-ms-keyframes meter {
from { width: 0; }
}
@keyframes meter {
from { width: 0; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment