From 72d66107d419e81aba87230591b2ed8064b59653 Mon Sep 17 00:00:00 2001 From: Keith Clark Date: Tue, 4 Oct 2016 11:59:03 +0100 Subject: [PATCH] Fix Firefox z-sorting issues. --- 5/index.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/5/index.html b/5/index.html index b11cd00..bc4c7c8 100644 --- a/5/index.html +++ b/5/index.html @@ -11,6 +11,9 @@
+
+ +
@@ -22,7 +25,7 @@ #viewport { width: 600px; height: 400px; overflow: hidden; background: url(back.png) repeat-x; background-size: auto 350px; perspective: 400px; } #camera { width: 0px; height: 0px; position: relative; left: 300px; top: 200px; transition: transform .4s; } #scenewrapper { width: 4000px; height: 4500px; transform-origin: 0 0; transition: transform .4s; } -#scene { width: 4000px; height: 4000px; transform-origin: 0 0; background: url(bg.png) no-repeat; background-size: auto 4000px} +#scene { width: 4000px; height: 4000px; transform-origin: 0 0;} #kartwrapper { position: absolute; transform-origin: center center; } #kart { width: 30px; transition: transform .4s, opacity .4s; opacity: 0; } #treewrapper { position: absolute; transform: translateX(1550px) translateY(550px) translateZ(40px); }