forked from udacity/frontend-nanodegree-arcade-game
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
54 lines (42 loc) · 732 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
#container {
position: relative;
margin: 0 auto;
width: 448px;
background-color: #eee;
/* border: 1px solid red;*/
}
h1 {
font-family: Arial;
font-size: 20px;
color: rgb(34, 156, 34);
/* border: 1px solid red;*/
margin: 0 0;
}
#lives {
position: absolute;
top: 480px;
left: 100px;
}
#score {
position: absolute;
top: 480px;
right: 100px;
}
canvas {
border: 5px solid black;
}
#canvas-background {
background: black;
/* border: 1px solid blue;*/
}
#canvas-game {
position: absolute;
background: transparent;
left: 0px;
top: 0px;
z-index: 2;
/*border: 1px solid green;*/
/*background-color: #000;*/
/*border-left: 20px solid #000;*/
/*border-right: 20px solid #000;*/
}