From 7278771336611da8cc23c8c1eab761b62c734706 Mon Sep 17 00:00:00 2001 From: structix Date: Thu, 9 May 2019 09:32:14 +0200 Subject: [PATCH] Update --- uebung2/strasse.html | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/uebung2/strasse.html b/uebung2/strasse.html index da96e9f..b995c8e 100644 --- a/uebung2/strasse.html +++ b/uebung2/strasse.html @@ -14,16 +14,6 @@ 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 { 0% { left: -40%; @@ -38,6 +28,17 @@ animation-delay: 2s; 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 + }