forked from Dshwn/Hacktoberfest_2020
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Universe.html
90 lines (77 loc) · 1.52 KB
/
Universe.html
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
<!DOCTYPE html>
<html>
<head>
<title>
sun
</title>
<style>
body{
background-image: url(https://thumbs.gfycat.com/BriefIgnorantBlackbuck-small.gif);
background-repeat: no-repeat;
background-size: cover;
background-attachment: fixed;
}
.a{
width:160px ;
height:160px ;
border-radius: 90px;
background-image:url(https://tse2.mm.bing.net/th?id=OIP.-M0vXyB89FsSzmajCjJM3gHaEK&pid=Api&P=0&w=269&h=152);
margin:150px;
left: 330px;
position: fixed;
}
.b{
width:60px;
height:60px;
border-radius:80px;
background-image:url(https://tse4.mm.bing.net/th?id=OIP.vJmaKLlUyVdVqbvxWa1EawHaEo&pid=Api&P=0&w=269&h=169);
margin:205px auto ;
left: 140px;
position: fixed;
animation-name:planet;
animation-direction: forward;
animation-iteration-count: infinite;
animation-delay:2s;
animation-timing-function: linear;
animation-duration:8s;
}
@keyframes planet
{
100%{left:1000px;}
}
.c{
width:60px;
height:60px;
border-radius:80px;
background-image:url(https://tse1.mm.bing.net/th?id=OIP.HAjlMa8k2zcNuljKD_KnrwHaEL&pid=Api&P=0&w=291&h=165);
margin:205px auto ;
right: 140px;
position: fixed;
animation-name:planeta;
animation-direction: forward;
animation-iteration-count: infinite;
animation-delay:2s;
animation-timing-function: linear;
animation-duration:8s;
}
@keyframes planeta
{
100%{right:1000px;}
}
</style>
</head>
<body>
<div class="b"></div>
<div class="c"></div>
<div class="a">
<pre>
<i>
<b>
Sun
</b>
</pre>
</i>
</div>
<div class="b"></div>
</body>
</html>