-
Notifications
You must be signed in to change notification settings - Fork 0
/
des.css
121 lines (107 loc) · 2.13 KB
/
des.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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
#maincontainer{
height: 680px;
width: 1500px;
background-color: darkred;
margin: auto;
display: flex;
}
#maincontainer2{
height: 500px;
width: 1300px;
background-image: url(back2.jpg);
background-size: cover;
align-self: center;
margin-left: 100px;
overflow: hidden;
position: relative;
}
#score{
height: 50px;
width: 140px;
background-color: goldenrod;
color: antiquewhite;
font-size: 2em;
font-family: Impact;
position: absolute;
left: 1330px;
padding: 5px;
margin: 15px;
border-radius: 5px;
}
#trialsleft{
height: 50px;
width: 140px;
background-color: goldenrod;
position: absolute;
margin: 15px;
padding: 6px;
border-radius: 5px;
display: none;
}
#ins{
bottom: 550px;
font-size: 2em;
font-family: sans-serif;
text-transform: capitalize;
color: antiquewhite;
position: absolute;
left: 500px;
}
.circle {
height: 18px;
width: 18px;
border-radius: 18px;
background-color: black;
position: fixed;
top: 0;
left: 0;
pointer-events: none;
z-index: 99999999; /* so that it stays on top of all other elements */
cursor: none;
}
#startbut{
height: 40px;
width: 250px;
color: whitesmoke;
font-size: 30px;
background-color: darkorange;
border: solid 5px black;
border-radius: 3px;
position: absolute;
top: 620px;
left: 650px;
text-align: center;
text-transform: uppercase;
}
#gameover{
height: 400px;
width: 700px;
background: linear-gradient(red,orange,yellow);
color: antiquewhite;
font-size: 4em;
position: absolute;
top: 150px;
left: 450px;
text-align: center;
display: none;
z-index: 3;
}
.life{
padding: 2px;
}
.fruit{
display: none;
position: absolute;
z-index: 2;
height: 100px;
width: 100px;
}
#bombb{
display: none;
height: 100px;
width: 100px;
position: absolute;
}
maincontainer2 background-image{
z-index: 1;
}