Improve layout for mobile screens

This commit is contained in:
Marcel
2018-01-17 16:25:00 +01:00
parent 45447adf99
commit 821c17bd80
4 changed files with 38 additions and 7 deletions

View File

@@ -87,10 +87,9 @@ function fadeBlurOut() {
}
}
const scoreEl = document.getElementById("score");
const nativeTransform = getComputedStyle(scoreEl).transform;
function scoreUpdateAni() {
const scoreEl = document.getElementById("score");
const nativeTransform = "translate(-50%, -50%)";
const scale = 1.5;
const finalScale = 1;
let currentScale = 1;