-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsuccess.html
More file actions
65 lines (61 loc) · 2.4 KB
/
Copy pathsuccess.html
File metadata and controls
65 lines (61 loc) · 2.4 KB
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
<html>
<head>
<meta http-equiv="Refresh" content="6; url=login.html">
<link href="https://fonts.googleapis.com/css?family=Cinzel&display=swap" rel="stylesheet">
<script>
function startTimer(duration, display) {
var timer = duration, minutes, seconds;
var end =setInterval(function () {
minutes = parseInt(timer / 60, 10)
seconds = parseInt(timer % 60, 10);
minutes = minutes < 10 ? "0" + minutes : minutes;
seconds = seconds < 10 ? "0" + seconds : seconds;
display.textContent = minutes + ":" + seconds;
if (--timer < 0) {
//window.location = "http://www.example.com";
clearInterval(end);
}
}, 1000);
}
window.onload = function () {
var fiveMinutes = 5,
display = document.querySelector('#time');
startTimer(fiveMinutes, display);
};
</script>
<style>
body{
animation: 1s cover infinite;
}
@keyframes cover{
10% { background-color:red }
20%{ background-color: purple;}
50%{ background-color: pink;}
100%{ background-color: blue;}
}
script{
color: white;
font-weight: bold;;
}
h1,p{
font-family: 'Cinzel', serif;
font-size: 100px;
text-align: center
}
p{
text-align: center;
}
.mid{
font-family: 'Cinzel', serif;
font-size: 40px;
text-align: right;
}
</style>
</head>
<body>
<h1 style="color: red; font-weight: bold; ">You Have Successfully Registerd !!!!</h1>
<p>Thankyou</p>
<div class="mid"> You will we redirected in <span id="time">00:10</span></div>
<form id="form1" runat="server">
</body>
</html>