/* The trees move a little faster than the clouds */
animation: treescopypass 30s linear infinite;
}
+
+
+ /* City skyline */
+ @keyframes cityscroll {
+ from {
+ transform: translateX(0%);
+ }
+ to {
+ transform: translateX(-50%);
+ }
+ }
+
+ #city {
+ /* The city moves faster than the clouds but slower
+ * than the trees */
+ animation: cityscroll 35s linear infinite;
+ }
+
+ @keyframes citycopyscroll {
+ from {
+ transform: translateX(0%);
+ }
+ to {
+ transform: translateX(-50%);
+ }
+ }
+
+ #citycopy {
+ /* The city moves faster than the clouds but slower
+ * than the trees */
+ animation: citycopyscroll 35s linear infinite;
+ }
</style>
</head>