Skip to content

Commit 268e62d

Browse files
authored
Add files via upload
1 parent 77d3dc4 commit 268e62d

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

web/stylesheet/catchgame.css

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
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+
}

0 commit comments

Comments
 (0)