-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
91 lines (86 loc) · 1.25 KB
/
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
#canvas{
border: 5px solid red;
background : url("pictures/bg.png");
animation: animatedBackground 20s linear infinite;
background-repeat: repeat-y;
margin-left: 75px;
}
@keyframes animatedBackground {
from { background-position: 0 0; }
to { background-position: 0 1000px; }
}
#player{
display:none;
}
#alien{
display: none;
}
#alien1{
display: none;
}
#alien2{
display: none;
}
#alien3{
display: none;
}
#alien4{
display: none;
}
#bullet{
display: none;
}
#blast{
display: none;
}
#play{
position: absolute;
right: 5px;
}
#pause{
position: absolute;
right: 5px;
}
#level{
position: absolute;
left: 2px;
}
#levelNo{
position: absolute;
left: 2px;
top :30px
}
#score{
position: absolute;
left: 2px;
top :70px
}
#score1{
position: absolute;
left: 2px;
top :100px
}
#powerUp{
display: none;
}
#powerUp1{
display: none;
}
#final{
text-align: center;
padding:50px;
}
button{
padding: 8px;
padding-left: 20px;
padding-right: 20px;
padding-top: 8px;
padding-bottom: 8px;
font-size: 25px;
border-radius: 6px;
background-color:cornflowerblue;
}
button:hover{
background-color: black;
color: chocolate;
}