<div class="glass-bg">
<form class="glass-form">
<h2>Welcome Back</h2>
<p>Please enter your details</p>
<input type="email" placeholder="Email" class="glass-input">
<input type="password" placeholder="Password" class="glass-input">
<button type="submit" class="glass-btn">Sign In</button>
<a href="#" class="forgot-link">Forgot Password?</a>
</form>
</div>.glass-bg {
font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
min-height: 500px;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(45deg, #4f46e5, #06b6d4);
}
.glass-form {
background: rgba(255, 255, 255, 0.2);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.3);
padding: 40px;
border-radius: 20px;
width: 320px;
text-align: center;
box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}
.glass-form h2 {
color: white;
margin: 0 0 10px;
}
.glass-form p {
color: rgba(255, 255, 255, 0.8);
margin-bottom: 30px;
}
.glass-input {
width: 100%;
padding: 12px 15px;
margin-bottom: 15px;
border: none;
border-radius: 8px;
background: rgba(255, 255, 255, 0.9);
font-size: 1rem;
box-sizing: border-box;
outline: none;
}
.glass-btn {
width: 100%;
padding: 12px;
border: none;
border-radius: 8px;
background: #111827;
color: white;
font-weight: 600;
cursor: pointer;
margin-top: 10px;
transition: transform 0.2s;
}
.glass-btn:hover {
transform: scale(1.02);
}
.forgot-link {
display: block;
margin-top: 15px;
color: white;
text-decoration: none;
font-size: 0.9rem;
opacity: 0.9;
}Nothing to show yetType HTML, CSS or JavaScript and your page appears here.
Click any element to find its code Esc
Check this code before you run it
It came from a shared link. It runs with fewer permissions, so it cannot open pop-ups, submit forms or start downloads.
0.00s / 0.00s
Nothing has animated yet. Hover, click or type in the preview and each CSS animation, transition or
element.animate() call shows up here as it plays.