Gregniuki commited on
Commit
31b5abd
·
verified ·
1 Parent(s): a3b97ad

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +10 -5
style.css CHANGED
@@ -1,21 +1,26 @@
1
- body {
2
  margin: 0;
3
- overflow: hidden;
 
 
 
 
4
  display: flex;
5
  justify-content: center;
6
  align-items: center;
7
  height: 100vh;
8
  background-color: #000;
 
9
  }
10
 
11
  #gameArea {
12
  position: relative;
13
- width: 100%;
14
- height: 100%;
15
  background-color: #333;
16
  }
17
 
18
- #paddleLeft, #paddleRight {
19
  position: absolute;
20
  width: 10px;
21
  height: 80px;
 
1
+ * {
2
  margin: 0;
3
+ padding: 0;
4
+ box-sizing: border-box;
5
+ }
6
+
7
+ body {
8
  display: flex;
9
  justify-content: center;
10
  align-items: center;
11
  height: 100vh;
12
  background-color: #000;
13
+ overflow: hidden;
14
  }
15
 
16
  #gameArea {
17
  position: relative;
18
+ width: 100vw;
19
+ height: 100vh;
20
  background-color: #333;
21
  }
22
 
23
+ .paddle {
24
  position: absolute;
25
  width: 10px;
26
  height: 80px;