-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
145 lines (122 loc) · 3.71 KB
/
index.html
File metadata and controls
145 lines (122 loc) · 3.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
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="description" content="Sign in With Functional Condition customise design & adding javascript">
<meta name="keywords" content="HTML,CSS,,JavaScript">
<meta name="author" content="Roman Hossain Shaon">
<meta name="copyright design" content="Malena Rey">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Sign in With Functional Condition</title>
<style>
@import url(https://fonts.googleapis.com/css?family=Oswald|Roboto);
body {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
font-family: "Roboto", sans-serif;
background-color: #fff4e6;
overflow: hidden;
}
.table {
display: table;
width: 100%;
height: 100%;
}
.table-cell {
display: table-cell;
vertical-align: middle;
transition: all 0.5s;
}
.container {
position: relative;
width: 370px;
margin: 30px auto 0;
height: 320px;
background-color: #854442;
top: 50%;
margin-top: -160px;
transition: all 0.5s;
}
.btn,
.info-btn {
display: block;
border: none;
text-align: center;
margin: 0 auto;
color: #fff;
background-color: #be9b7b;
}
.info-btn {
padding: 5px 10px
}
.btn:hover {
opacity: 0.7;
}
.btn,
input {
padding: 10px 15px;
}
input {
margin: 0 auto 15px;
display: block;
width: 220px;
}
.container-form {
overflow: hidden;
position: absolute;
left: 30px;
top: -30px;
width: 305px;
height: 380px;
background-color: #fff;
box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.2);
transition: all 0.5s;
}
.container-form .btn {
margin-top: 30px;
}
.form-item {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
opacity: 1;
transition: all 0.7s;
}
.container.log-in .container-form .form-item.log-in {
top: 100%;
opacity: 0;
}
span {
display: block;
text-align: center;
color: #4F4F4F;
}
</style>
</head>
<body>
<div class="container">
<div class="container-forms">
<div class="container-form">
<div class="form-item log-in">
<div class="table">
<div class="table-cell">
<input name="Username" placeholder="Username" type="text" autocapitalize="word" maxlength="6" onkeydown="upperCaseF(this)" />
<input name="Password" placeholder="Password" type="Password" id="myInput" maxlength="8">
<input class="checkbox" type="checkbox" type="checkbox" onclick="myFunction()" id="fruit1">
<span>Show Password</span>
<button onClick="window.location.reload();" id="submit" class="btn">Log in</button>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="form.js"></script>
</body>
</html>