-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathstyle.css
60 lines (53 loc) · 881 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
56
57
58
59
60
body {
height: 100%;
width: 100%;
margin: 0;
}
#container {
position: relative;
height: 400px;
width: 90%;
border: 2px solid red;
background-color: aliceblue;
margin-left: 4%;
overflow: hidden;
}
#bird {
position: absolute;
background: url('bird.png');
height: 42px;
width: 65px;
background-size: contain;
background-repeat: no-repeat;
top: 20%;
left: 15%;
}
.pole {
position: absolute;
height: 130px;
width: 50px;
background-color: red;
right: -50px;
}
#pole_1 {
top: 0;
}
#pole_2 {
bottom: 0;
}
#score_div {
text-align: center;
font-size: 40px;
}
#restart_btn {
position: absolute;
top: 0;
width: 100%;
padding: 20px;
background-color: fuchsia;
color: white;
font-size: 35px;
border: none;
cursor: pointer;
display: none;
}