Follow us on : https://www.instagram.com/webstreet_code/
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Glassmorphic Login Form</title>
<style>
body {
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background: url('YOUR-GIF-URL-HERE') no-repeat center center/cover;
font-family: Arial, sans-serif;
}
.login-container {
width: 350px;
padding: 20px;
border-radius: 15px;
backdrop-filter: blur(12px) brightness(0.9);
background: rgba(255, 255, 255, 0.15);
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
text-align: center;
}
.login-container h1 {
margin-bottom: 20px;
font-size: 24px;
color: white;
}
.input-group {
margin: 15px 0;
}
.input-group label {
display: block;
margin-bottom: 5px;
font-size: 14px;
color: rgba(255, 255, 255, 0.8);
}
.input-group input {
width: 100%;
padding: 10px;
border: 1px solid rgba(255, 255, 255, 0.3);
border-radius: 8px;
background: rgba(255, 255, 255, 0.1);
color: white;
font-size: 14px;
outline: none;
}
.input-group input::placeholder {
color: rgba(255, 255, 255, 0.7);
}
.login-button {
margin-top: 20px;
width: 100%;
padding: 12px;
background: rgba(255, 255, 255, 0.3);
color: white;
font-size: 16px;
border: none;
border-radius: 8px;
cursor: pointer;
transition: background 0.3s ease;
}
.login-button:hover {
background: rgba(255, 255, 255, 0.5);
}
.forgot-password {
margin-top: 10px;
color: rgba(255, 255, 255, 0.8);
font-size: 14px;
text-decoration: none;
}
.forgot-password:hover {
text-decoration: underline;
}
</style>
</head>
<body>
<div class="login-container">
<h1>Login</h1>
<form>
<div class="input-group">
<label for="email">Email</label>
<input type="email" id="email" placeholder="Enter your email" required>
</div>
<div class="input-group">
<label for="password">Password</label>
<input type="password" id="password" placeholder="Enter your password" required>
</div>
<button type="submit" class="login-button">Sign In</button>
<a href="#" class="forgot-password">Forgot Password?</a>
</form>
</div>
</body>
</html>
Top comments (0)