-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathstyle.css
55 lines (54 loc) · 906 Bytes
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
html, body{
height: calc(100% - 20px);
width: 100%;
margin: 0; padding: 0;
}
body{
border-bottom:40px solid grey;
overflow: hidden;
}
.ball{
border-radius: 50px;
height: 79px;
width: 79px;
border: 1px solid rgb(5, 5, 5);
background: orange;
position: absolute;
font-size: 11px;
text-align: center;
}
span{
user-select: none;
}
.ball span{
line-height: 80px;
}
.goal{
border-top: 0; border-bottom: 0;
position: absolute;
background: gold;
}
.goal:after{
content: ' ';
position: absolute;
width: 100%;
height: 40px;
background: rgba(0, 0, 0, 0.2);
bottom: -30px;
}
.backboard{
position: absolute;
background: grey;
}
.rim{
position: absolute;
background: red;
}
.slingshot{
background: brown;
position: absolute;
left: 200px;
bottom: 0px;
height: 200px;
width: 10px;
}