]> gitweb.michael.orlitzky.com - charm-bypass.git/commitdiff
src/index.html.in: animate the train
authorMichael Orlitzky <michael@orlitzky.com>
Fri, 13 Oct 2023 18:31:37 +0000 (14:31 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Fri, 13 Oct 2023 18:31:37 +0000 (14:31 -0400)
src/index.html.in

index d6f421324f24046eb2b9c84a7453dcedd13c1dd2..19c39ef3569d44d4284e3ef230a46e343196c098 100644 (file)
       }
 
 
+      /* Tram */
+      @keyframes trainroll {
+       from {
+         transform: translateX(0%);
+       }
+       to {
+         transform: translateX(100%);
+       }
+      }
+
+      #train {
+       animation: trainroll 10s linear infinite;
+      }
+
+
       /* Clouds */
       @keyframes cloudsfloat {
        from {