-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
80 lines (55 loc) · 2.71 KB
/
index.html
File metadata and controls
80 lines (55 loc) · 2.71 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>flip login</title>
<link rel="stylesheet" href="style.css">
</head>
<body id="main">
<div class="flip3d">
<div id="login" class="front">
<div class="grey">
<h1>LOGIN</h1>
<input class="txtbox " type="text" name="username" value="" placeholder="User Id"> <br>
<input class="txtbox passbox" type="password" name="password" value="" placeholder="password">
<div class="below">
<span class="forgot"><em>Forgot Password ?</em></span>
<div class="line"></div>
<span class="btnlog">LOGIN</span>
</div>
</div>
<div class="orange">
<span><small>New User?</small> <em onclick="showRegister()">REGISTER</em> <small>Here</small></span>
</div>
</div>
<div class="back" id="register">
<div class="grey">
<h1 class="regi">REGISTER</h1>
<input class="txtbox2 " type="text" name="username" value="" placeholder="User Id"> <br>
<input class="txtbox2 passbox" type="password" name="password" value="" placeholder="password">
<div class="belowback">
<input class="txtbox2 passbox" type="password" name="password" value="" placeholder="Re-password">
<div class="belowback">
<span class="btnreg">REGISTER</span>
</div>
</div>
</div>
<div class="orangeback">
<span><small>Already Registered?</small> <em onclick="showLogin()">LOGIN</em> <small>Here</small></span>
</div>
</div>
</div>
<script>
function showRegister(){
document.getElementById("login").style.transform='perspective(1000px) rotateY(180deg)';
document.getElementById("register").style.transform='perspective(1000px) rotateY(0deg)';
document.getElementById("main").style.backgroundColor='#e15848';
}
function showLogin(){
document.getElementById("login").style.transform='perspective(1000px) rotateY(0deg)';
document.getElementById("register").style.transform='perspective(1000px) rotateY(-180deg)';
document.getElementById("main").style.backgroundColor='teal';
}
</script>
</body>
</html>