diff --git a/templates/index.html b/templates/index.html index b0b3e30..d6110a3 100644 --- a/templates/index.html +++ b/templates/index.html @@ -85,7 +85,7 @@ button{font-family:inherit;cursor:pointer;border:none;background:none} pointer-events:none; } -/* Each station is positioned at a Z-depth in the tunnel */ +/* Each station is positioned in the 3D world */ .station{ position:absolute; left:0;top:0;right:0;bottom:0; @@ -93,10 +93,10 @@ button{font-family:inherit;cursor:pointer;border:none;background:none} transform-style:preserve-3d; pointer-events:none; opacity:0; - transition:opacity .15s ease-out; + visibility:hidden; + will-change:transform,opacity; } .station.active{ - opacity:1; pointer-events:auto; } /* Station inner layout */ @@ -559,7 +559,7 @@ footer.show{transform:translateY(0)}