From 6fec50969920d23ae0e1e83182fb32e55793ec2d Mon Sep 17 00:00:00 2001 From: OrionStar25 Date: Sat, 20 Jan 2018 21:52:24 +0530 Subject: [PATCH 1/2] Car #2 is floating above the road #4 --- css/main.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/css/main.css b/css/main.css index 8672f6b..4931a73 100644 --- a/css/main.css +++ b/css/main.css @@ -40,13 +40,13 @@ body { position:absolute; left:10000px; - bottom:135px; + bottom:500px; height:120px; width:240px; background:url('../images/car-2.png'); background-size: contain; background-repeat: no-repeat; - top:62%; + top:70%; z-index:3; } From 91e29cec9f4a560e61b9a43622ac561405e85697 Mon Sep 17 00:00:00 2001 From: OrionStar25 Date: Mon, 22 Jan 2018 14:17:14 +0530 Subject: [PATCH 2/2] give relative height --- css/main.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css/main.css b/css/main.css index 4931a73..ebb8597 100644 --- a/css/main.css +++ b/css/main.css @@ -40,7 +40,7 @@ body { position:absolute; left:10000px; - bottom:500px; + bottom: 17%; height:120px; width:240px; background:url('../images/car-2.png');