Sebastiankay commited on
Commit
812f6d5
1 Parent(s): baf2aae

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +4 -3
index.html CHANGED
@@ -25,17 +25,18 @@
25
  color: #fff;
26
  }
27
 
28
- @media (max-width: 450px) {
29
  body {
30
  font-size: 12px;
31
- position: fixed;
32
  top: 0;
33
  left: 0;
34
  width: 100vw;
35
  height: 100vh;
36
  }
37
  canvas {
38
- position: fixed;
 
39
  top: 50%;
40
  left: 50%;
41
  transform: translate(-50%, -50%);
 
25
  color: #fff;
26
  }
27
 
28
+ @media (max-width: 400px) {
29
  body {
30
  font-size: 12px;
31
+ position: relative;
32
  top: 0;
33
  left: 0;
34
  width: 100vw;
35
  height: 100vh;
36
  }
37
  canvas {
38
+ inset:0;
39
+ position: absolute;
40
  top: 50%;
41
  left: 50%;
42
  transform: translate(-50%, -50%);