Update style.css
Browse files
style.css
CHANGED
@@ -1,21 +1,26 @@
|
|
1 |
-
|
2 |
margin: 0;
|
3 |
-
|
|
|
|
|
|
|
|
|
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:
|
14 |
-
height:
|
15 |
background-color: #333;
|
16 |
}
|
17 |
|
18 |
-
|
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;
|