Professional Documents
Culture Documents
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div class="login-background">
<div class="login-header">
<p>My Login Area</p>
</div>
<div class="login-body">
<form>
<input type="text" name="username" placeholder="Email" required><br>
<input type="password" name="password" placeholder="Password" required><br>
<input type="submit" name="login" value="LOG IN"><br>
</form>
<p><a href="#"> Forgot Password?</a></p>
</div>
</div>
</body>
</html>
Source CSS
body{
background: #2e3339;
margin-right: 20%;
margin-left: 20%;
.login-background{
font-family: arial;
background: #35455f;
padding: 10px;
border-radius: 3px;
width: 300px;
color: #999;
height: auto;
text-align: center;
}
input[type="text"],input[type="password"]{
border: none;
margin-bottom: 15px;
color: #999;
width: 100%;
background: none;
input[type="submit"]{
background: #0eb7cc;
color: #fff;
border-radius: 3px;
padding: 15px;
width: 100%;
border: none;
.img-logo{
height: 100px;
width: 100px;
}
a,a:hover,a:visited,a:active{
text-decoration: none;
color: #999;
Gambar Hasil