]> gitweb.michael.orlitzky.com - charm-bypass.git/commitdiff
src/index.html.in: add the tram animation
authorMichael Orlitzky <michael@orlitzky.com>
Tue, 10 Oct 2023 13:04:32 +0000 (09:04 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Tue, 10 Oct 2023 13:04:32 +0000 (09:04 -0400)
src/index.html.in

index ee40cf8f18a76fd260c2fe325df2776c7786f3cc..6d25d3ee17b4b7e27cf9c053359bef2f903d3929 100644 (file)
       #bus {
        animation: busroll 15s linear infinite;
       }
+
+      @keyframes tramroll {
+       from {
+         transform: translate(0%, 0%);
+       }
+       to {
+         transform: translate(100%, 0%);
+       }
+      }
+
+      #tram {
+       animation: tramroll 10s linear infinite;
+      }
     </style>
   </head>