-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGhostAnimation.css
75 lines (74 loc) · 1.33 KB
/
GhostAnimation.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
:root{
--box-width: 500px;
--height: 600px;
}
body{
background-color: gray;
}
#ghostContainer{
width: 80%;
height: 86%;
border: 1px solid blue;
margin: 10% 10% 5%;
background-image: url(ghost_house.jpg);
background-size: cover;
position: absolute;
overflow: scroll;
color: aqua;
}
#sourceCode_zone{
width: 80%;
height: 86%;
border: 1px solid blue;
position: absolute;
margin: 10%;
color: #000;
overflow: scroll;
}
h1{
text-align: center;
color: white;
}
.container{
width: var(--box-width);
height: var(--height);
background-color: white;
display: inline-block;
position: relative;
margin: 5% 0 0% 2%;
}
#animation_zone{
width: 80%;
height: 45%;
margin: 10% 10% 0 10%;
border: 1px solid blue;
position: absolute;
}
#button_zone{
width: 80%;
height: 30%;
border: 1px solid blue;
margin: 70% 10% 0 10%;
position: absolute;
}
.title{
width: 100%;
text-align: center;
margin-top: 3%;
margin-bottom: 20px;
font: 1.5em sans-serif;
}
span{
width: 120px;
height: 20px;
display: inline-block;
border-radius: 10%;
padding: 10px 20px;
margin: 5px 10px;
text-align: center;
background-color: aqua;
}
span:hover{
background-color: aquamarine;
cursor: pointer;
}