]> gitweb.michael.orlitzky.com - charm-bypass.git/blobdiff - src/index.html.in
src/index.html.in: reduce the LCM of the bus/tram/train loops
[charm-bypass.git] / src / index.html.in
index d6f421324f24046eb2b9c84a7453dcedd13c1dd2..755f54020592ab630097dcaa7e4973f8aa47020d 100644 (file)
@@ -70,7 +70,7 @@
       }
 
       #bus {
-       animation: busroll 20s linear infinite;
+       animation: busroll 23s linear infinite;
       }
 
 
       }
 
       #tram {
-       animation: tramroll 15s linear infinite;
+       animation: tramroll 17s linear infinite;
+      }
+
+
+      /* Tram */
+      @keyframes trainroll {
+       from {
+         transform: translateX(0%);
+       }
+       to {
+         transform: translateX(100%);
+       }
+      }
+
+      #train {
+       animation: trainroll 11s linear infinite;
       }