-
Notifications
You must be signed in to change notification settings - Fork 0
/
login.html
89 lines (80 loc) · 1.59 KB
/
login.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Transparent Login Form</title>
<link rel="stylesheet" type="text/css" href="loginstyles.css">
<style>
@import "https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css";
body{
margin:0;
padding:0;
font-family: sans-serif;
background: url(https://images.wallpaperscraft.com/image/moon_tree_starry_sky_132139_1920x1080.jpg) no-repeat;
background-size: cover;
}
.login-box{
width: 280px;
position: absolute;
top: 50%;;
left: 50%;
transform: translate(-50%,-50%);
color: white;
}
.login-box h1{
float: left;
font-size: 40px;
border-bottom: 6px solid #4caf50;
margin-bottom: 50px;
padding: 13px;
}
.textbox{
width: 100%;
overflow: hidden;
font-size: 20px;
padding: 8px 0;
margin: 8px 0;
}
.textbox i{
width: 26px;
float: left;
text-align: center;
}
.textbox input{
border: none;
outline: none;
background;none;
color: white;
font-size: 18px;
width: 80%;
float: left;
margin:0 10px;
}
.btn{
width:100%;
background: none;
border:2px solid #4caf50;
color:white;
padding:5px;
font-size:18px;
cursor: pointer;
margin: 12px 0;
}
</style>
</head>
<div class="login-box">
<body>
<h1>Login</h1>
<div class="textbox">
<i class="fa fa-user" aria-hidden="true"></i>
<input type="text" placeholder="Username" name="" value="">
</div>
<div class="textbox">
<i class="fa fa-lock" aria-hidden="true"></i>
<input type="password" placeholder="password"name="" value="">
</div>
<input class="btn" type="button" name="" value="Sign In">
</div>
</div>
</body>
</html>