-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathupdate.html
More file actions
153 lines (143 loc) · 3.4 KB
/
update.html
File metadata and controls
153 lines (143 loc) · 3.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
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
146
147
148
149
150
151
152
153
<!doctype html>
<html>
<head>
<title>Login</title>
<meta chartset='utf-8'>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
<style>
body
{ background-image:url("updatewala2.jpg");
padding : 0px;
margin: 0px;
font-family:sans-serif;
font-size-adjust: auto;
}
#about
{
height: 100vh;
width: 100%;
overflow: hidden;
}
#heading:hover
{
transform:rotateY(360deg);
transform: rotateX(360deg);
}
#content
{
color:white;
font-size:25px;
position: relative;
left:40%;
top:30%;
width:50%;
height:70%;
text-align: justify;
overflow-y: hidden;
z-index: 100;
}
.form1
{
border:solid black 2px;
border-radius: 10%;
text-transform: uppercase;
color:black;
font-size: 20px;
font-style: italic;
}
#user1
{ color:black;
z-index: 2;
}
#user
{ font-family: times new roman;
color:grey;
position: relative;
left:-240px;
z-index: 2;
}
#user3
{ font-family:times new roman;
color:grey;
border-radius: 10%;
position: relative;
left:-240px;
z-index: 2;
}
.form2
{ font-family:times new roman;
color:black;
background-color: #87B6A7;
border-radius: 10%;
border-bottom:solid blue 2px;
z-index:-2;
}
#home
{
position: relative;
top:5px;
left:500px;
}
label{
}
</style>
<script>
$(document).ready(function()
{
$("#user1").focus(function()
{
$(this).css("border-bottom","2px blue solid");
$("#user").animate(
{
top:'-30px',
fontSize:'15px'
});
});
$("#user1").blur(function()
{
$(this).css("border-bottom","2px white solid");
});
$("#user2").blur(function()
{
$(this).css("border-bottom","2px white solid");
});
$("#user2").focus(function()
{
$(this).css("border-bottom","2px blue solid");
$("#user3").animate(
{
top:'-30px',
fontSize:'15px'
});
});
}
);
</script>
</head>
<body>
<div id="about">
<div id="heading">UPDATE</div>
<div id="content">
<form action="/updation" method="post">
<br>
<br>
<input type="text" name="username1" class="form1" id="user1">
<label for="username1" id="user">Username</label>
<br>
<br>
<input type="password" name="password1" class="form1" id="user2">
<label for="password1" id="user3">Password</label>
<br>
<br>
<input type="submit" value="Log In" class="form2">
</form>
</form>
</div>
</div>
</div>
</body>
</html>