-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
112 lines (100 loc) · 2.41 KB
/
index.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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="index.css">
<title>Cosmic Animation</title>
<style>
body {
background-image: url("https://images.nightcafe.studio/jobs/lYLe60VHT8AXrlKbdfyW/lYLe60VHT8AXrlKbdfyW--1--gylib.jpg?tr=w-1600,c-at_max");
background-size: cover;
background-repeat: no-repeat;
}
.container {
width: 150px;
height: 100px;
margin: 0 auto;
position: relative;
}
.star {
position: absolute;
width: 10px;
height: 10px;
background-color: white;
border-radius: 50%;
}
.animation {
animation: move 7s infinite;
}
@keyframes move {
from {
top: 0;
left: 0;
}
to {
top: 100%;
left: 100%;
}
}
.button {
border-radius: 8px;
position: absolute;
top:10;
bottom:-300%;
left: 20;
width: 100%;
height: 50px;
background-color:#e4e0d7;
opacity:0.5;
color:black;
font-size: 20px;
cursor: pointer;
}
</style>
</head>
<body>
<script src='index.js'></script>
<div class="container">
<div class="star animation"></div>
<div class="star animation"></div>
<div class="star animation"></div>
<div class="star animation"></div>
<div class="star animation"></div>
<div class="button">
<div class = "container"
width: 300px;
height: 100px;
bottom: 0;
left: 0;
right: 0;><strong><center><bold>Start your journey </bold></center></strong>
</div>
</div>
<div class="the bar">
<div class="skill-main">
<div class="skill-wrrap">
<div class="skill-name">
<h2 style="color:blue">Your status in mission</h2></div>
<div class="skill-bar">
<div class="skill-per" per="0"></div>
</div>
</div></div>
<style>
.skill-bar {
position: fixed;
bottom: 0;
width: 50%;
}
.skill-name {
position:fixed;
bottom:0;
width:100%;
bottom:0;
display: block;
}
</style>
<script>
document.querySelector(".button").addEventListener("click", function() {
window.location.href = "rocketlaunch.html";
});
</script>
</body>
</html>