Browse Source

Better animation

David Catuhe 6 năm trước cách đây
mục cha
commit
b264282343
2 tập tin đã thay đổi với 3 bổ sung2 xóa
  1. 1 0
      sandbox/index.css
  2. 2 2
      src/Loading/loadingScreen.ts

+ 1 - 0
sandbox/index.css

@@ -417,6 +417,7 @@ a:visited {
     -webkit-appearance: none;
     cursor: pointer;
     width: 100%;
+    max-width: 820px;
     height: var(--footer-height);
     outline: none;
     margin-left: 20px;

+ 2 - 2
src/Loading/loadingScreen.ts

@@ -121,8 +121,8 @@ export class DefaultLoadingScreen implements ILoadingScreen {
         imgSpinner.style.height = "18vw";
         imgSpinner.style.marginLeft = "-9vw";
         imgSpinner.style.marginTop = "-9vw";
-        imgSpinner.style.animation = "spin1 1s infinite linear";
-        imgSpinner.style.webkitAnimation = "spin1 1s infinite linear";
+        imgSpinner.style.animation = "spin1 0.75s infinite linear";
+        imgSpinner.style.webkitAnimation = "spin1 0.75s infinite linear";
         imgSpinner.style.transformOrigin = "50% 50%";
         imgSpinner.style.webkitTransformOrigin = "50% 50%";