This commit is contained in:
2019-05-09 09:32:14 +02:00
parent eee5eb2233
commit 7278771336

View File

@@ -14,16 +14,6 @@
overflow: hidden; overflow: hidden;
} }
img {
width: 40%
height: 40%;
position: absolute;
bottom: -5%;
animation: fahren 10s linear infinite;
transform: scaleX(-1);
z-index: 1; //weiter vorne/hinten
}
@keyframe fahren { @keyframe fahren {
0% { 0% {
left: -40%; left: -40%;
@@ -38,6 +28,17 @@
animation-delay: 2s; animation-delay: 2s;
animation-direction: reverse; animation-direction: reverse;
} }
img {
width: 40%
height: 40%;
position: absolute;
bottom: -5%;
animation: fahren 10s linear infinite;
transform: scaleX(-1);
z-index: 1; //weiter vorne/hinten
}
</style> </style>
</head> </head>
<body> <body>