File tree 1 file changed +47
-0
lines changed
1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change
1
+ * {
2
+ margin : 0 ;
3
+ padding : 0 ;
4
+ box-sizing : border-box;
5
+ }
6
+
7
+ body {
8
+ font-family : Arial, sans-serif;
9
+ background-color : # 081108 ;
10
+ color : # fff ;
11
+ text-align : center;
12
+ }
13
+
14
+ # gameContainer {
15
+ position : relative;
16
+ width : 100% ;
17
+ height : 500px ;
18
+ background-color : # 222 ;
19
+ border : 2px solid # 6BFF53 ;
20
+ overflow : hidden;
21
+ margin : 0 auto;
22
+ }
23
+
24
+ # basket {
25
+ position : absolute;
26
+ bottom : 10px ;
27
+ width : 100px ;
28
+ height : 50px ;
29
+ background-color : # 6BFF53 ;
30
+ border-radius : 10px ;
31
+ left : 50% ;
32
+ transform : translateX (-50% );
33
+ }
34
+
35
+ # object {
36
+ position : absolute;
37
+ width : 30px ;
38
+ height : 30px ;
39
+ background-color : red;
40
+ border-radius : 50% ;
41
+ top : -30px ;
42
+ }
43
+
44
+ # score {
45
+ margin-top : 20px ;
46
+ font-size : 24px ;
47
+ }
You can’t perform that action at this time.
0 commit comments