]> nos-oignons.net Git - website.git/commitdiff
Ajout d'une animation sur la barre de progression. inutile.
authoropi <opi@no-log.org>
Wed, 27 May 2015 12:56:23 +0000 (14:56 +0200)
committeropi <opi@no-log.org>
Wed, 27 May 2015 12:56:23 +0000 (14:56 +0200)
local.css

index 6cd635a61cec76d979713085ef3b1883327ccdf8..e6349f72e78cf6bae50a51ff4570076f69a0abc9 100644 (file)
--- a/local.css
+++ b/local.css
@@ -393,7 +393,17 @@ thead td {
   .progress-bar-wrapper .progress-bar {
     height: 85px;
     background: grey url(assets/progress_bar.png) bottom left repeat-x;
+    /* animate progress bar */
+    -webkit-animation: progress-bar 1.5s;
+    -moz-animation: progress-bar 1.5s;
+    animation: progress-bar 1.5s;
   }
+
+  /* progress bar animation*/
+  @-webkit-keyframes progress-bar { 0% { width: 0; } }
+  @-moz-keyframes progress-bar { 0% { width: 0; } }
+  keyframes progress-bar { 0% { width: 0; } }
+
   .progress-bar-wrapper:after {
     content: " ";
     display: block;