Browse Source

transition progressbar

Gregg Tavares 6 years ago
parent
commit
834944edfe

+ 1 - 0
threejs/lessons/threejs-game.md

@@ -172,6 +172,7 @@ a CSS animation of diagonal stripes.
 }
 }
 #progressbar {
 #progressbar {
   width: 0;
   width: 0;
+  transition: width ease-out .5s;
   height: 1em;
   height: 1em;
   background-color: #888;
   background-color: #888;
   background-image: linear-gradient(
   background-image: linear-gradient(

+ 1 - 0
threejs/threejs-game-check-animations.html

@@ -37,6 +37,7 @@
     }
     }
     #progressbar {
     #progressbar {
       width: 0%;
       width: 0%;
+      transition: width ease-out .5s;
       height: 1em;
       height: 1em;
       background-color: #888;
       background-color: #888;
       background-image: linear-gradient(
       background-image: linear-gradient(

+ 1 - 0
threejs/threejs-game-conga-line-w-notes.html

@@ -78,6 +78,7 @@
     }
     }
     #progressbar {
     #progressbar {
       width: 0%;
       width: 0%;
+      transition: width ease-out .5s;
       height: 1em;
       height: 1em;
       background-color: #888;
       background-color: #888;
       background-image: linear-gradient(
       background-image: linear-gradient(

+ 1 - 0
threejs/threejs-game-conga-line.html

@@ -78,6 +78,7 @@
     }
     }
     #progressbar {
     #progressbar {
       width: 0%;
       width: 0%;
+      transition: width ease-out .5s;
       height: 1em;
       height: 1em;
       background-color: #888;
       background-color: #888;
       background-image: linear-gradient(
       background-image: linear-gradient(

+ 1 - 0
threejs/threejs-game-just-player.html

@@ -43,6 +43,7 @@
     }
     }
     #progressbar {
     #progressbar {
       width: 0%;
       width: 0%;
+      transition: width ease-out .5s;
       height: 1em;
       height: 1em;
       background-color: #888;
       background-color: #888;
       background-image: linear-gradient(
       background-image: linear-gradient(

+ 1 - 0
threejs/threejs-game-load-models.html

@@ -37,6 +37,7 @@
     }
     }
     #progressbar {
     #progressbar {
       width: 0%;
       width: 0%;
+      transition: width ease-out .5s;
       height: 1em;
       height: 1em;
       background-color: #888;
       background-color: #888;
       background-image: linear-gradient(
       background-image: linear-gradient(

+ 1 - 0
threejs/threejs-game-player-input.html

@@ -78,6 +78,7 @@
     }
     }
     #progressbar {
     #progressbar {
       width: 0%;
       width: 0%;
+      transition: width ease-out .5s;
       height: 1em;
       height: 1em;
       background-color: #888;
       background-color: #888;
       background-image: linear-gradient(
       background-image: linear-gradient(