-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCekNPM.html
167 lines (146 loc) · 4.42 KB
/
CekNPM.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
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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="shortcut icon" href="Images/LogoVertical.png" />
<title>Cek NPM</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link href='http://fonts.googleapis.com/css?family=Lato&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
height: 80vh;
justify-content: center;
display: flex;
align-items: center;
flex-direction: column;
font-family: Lato;
}
h1 {
font-family: Lato;
font-style: normal;
font-weight: bold;
font-size: 35px;
line-height: 55px;
display: flex;
align-items: center;
text-align: center;
}
.form {
width: 300px;
position: relative;
height: 80px;
overflow: hidden;
}
.form input {
width: 100%;
height: 100%;
color: #000000;
padding-top: 30px;
border: none;
outline: none;
}
.form label {
position: absolute;
bottom: 0px;
left: 0%;
width: 100%;
height: 100%;
pointer-events: none;
border-bottom: 2px solid #EE9F19;
color: rgba(34, 34, 34, 0.3);
font-weight: bold;
}
.form label::after {
content: "";
position: absolute;
left: 0px;
bottom: -1px;
height: 100%;
width: 100%;
border-bottom: 4px solid #EE9F19;
transform: translateX(-150%);
transition: transform 0.3s ease;
}
.content-name {
position: absolute;
bottom: 5px;
left: 0px;
transition: all 0.3s ease;
}
.form input:focus+.label-name .content-name,
.form input:valid+.label-name .content-name {
transform: translateY(-120%);
font-size: 14px;
color: #EE9F19;
}
.form input:focus+.label-name::after,
.form input:valid+.label-name::after {
transform: translateX(0%);
}
input[type=button] {
margin-top: 4%;
margin-left: auto;
margin-right: auto;
display: flex;
background-color: #EE9F19;
border: none;
color: white;
}
.btn:hover {
background: #FFDB0D;
}
.logo {
margin: 3% 0px;
}
.logo img {
display: block;
margin: auto;
width: 200px;
}
.login {
margin-top: 2%;
}
p {
font-family: Lato;
font-style: normal;
font-weight: normal;
font-size: 14px;
/* identical to box height */
text-align: center;
color: #222222;
}
</style>
</head>
<body>
<h1>Cek Nomor Pokok Mahasiswa</h1>
<form action="" method="">
<div class="d-flex justify-content-center">
<div class="form">
<input type="text" name="name" autocomplete="off" required>
<label for="name" class="label-name">
<span class="content-name">
<i class="fa fa-id-card"></i>
Nomor Pokok Mahasiswa (NPM)
</span>
</label>
</div>
</div>
<div class=" d-flex justify-content-center">
<input type="button" class="btn btn-primary" value="Sign In">
</div>
</form>
<div class="login">
<p>Already have an account? <span><a href="#" style="color: #898989;">Login here</a></span>
</p>
</div>
</body>
</html>