-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
85 lines (78 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
body {
background-color: black;
border: 3px solid white;
}
img {
width: 100%;
height: 675px;
}
.container {
position: relative;
}
#rick {
position: absolute;
top: 10px;
left: 600px;
right: 0;
width: 60px;
height: 80px;
background-image: url("images/picklerick.png");
background-repeat: no-repeat;
background-size: 50%;
}
#rocket {
position: absolute;
top:10px;
left:600px;
right:0;
width: 60px;
height: 80px;
background-image: url("images/rocket1.png");
background-repeat: no-repeat;
background-size: 25%;
transition: top 1s linear;
/* rocketTop 10px
rocketBottom 469px
rocketRight 0px
rocketLeft 600px
rocketWidth 60px
rocketHeight 200px */
}
.morty {
position: absolute;
bottom: 0;
left: 600px;
width: 60px;
height: 80px;
background-image: url("images/Morty.png");
background-repeat: no-repeat;
background-size: 50%;
animation: move 5s linear infinite;
/*mortyTop 618px
mortyBottom 0px
mortyRight 171px
mortyLeft 600px
mortyWidth 60px
mortyHeight 80px*/
}
#counter {
width: 100px;
height: 50px;
background-color: white;
position: absolute;
top: 0;
}
@keyframes move {
0%{
bottom: 0%;
}
50% {
bottom: 50%;
}
75% {
bottom: 75%;
}
100% {
bottom: 100%;
}
}