Forgot Password Page HTML

6 views 397 lines Email-based password recovery interface
Password reset page design

✅ Split Screen Layout
✅ Glassmorphism Card
✅ Floating Labels
✅ Security Trust Indicators
✅ Animated Illustration Area
✅ Gradient CTA Button
✅ Responsive Mobile Layout
✅ Pure HTML + CSS
HTML • 397 lines
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Forgot Password</title>

<style>

:root{
    --primary:#6366f1;
    --secondary:#8b5cf6;
    --accent:#06b6d4;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Inter,sans-serif;
}

body{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:20px;
    overflow:hidden;

    background:
    linear-gradient(
        135deg,
        #020617,
        #172554,
        #312e81
    );
}

/* Background Blobs */

.blob{
    position:absolute;
    border-radius:50%;
    filter:blur(100px);
    opacity:.5;
}

.b1{
    width:350px;
    height:350px;
    background:#6366f1;
    left:-100px;
    top:-100px;
    animation:float 10s infinite;
}

.b2{
    width:300px;
    height:300px;
    background:#06b6d4;
    right:-100px;
    bottom:-100px;
    animation:float 12s infinite;
}

@keyframes float{
    50%{
        transform:translateY(-40px);
    }
}

/* Main Container */

.wrapper{

    width:100%;
    max-width:1000px;

    display:grid;
    grid-template-columns:1fr 1fr;

    overflow:hidden;

    border-radius:30px;

    backdrop-filter:blur(20px);

    background:
    rgba(255,255,255,.08);

    border:1px solid rgba(255,255,255,.1);

    box-shadow:
    0 30px 60px rgba(0,0,0,.4);

    animation:show .8s ease;
}

@keyframes show{

    from{
        opacity:0;
        transform:translateY(30px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* Left Side */

.left{

    padding:50px;
    color:white;

    background:
    linear-gradient(
        135deg,
        rgba(255,255,255,.05),
        rgba(255,255,255,.02)
    );
}

.left h1{
    margin-bottom:15px;
    font-size:2rem;
}

.left p{
    color:#cbd5e1;
    margin-bottom:30px;
}

/* Illustration */

.illustration{

    width:220px;
    height:220px;

    margin:auto;

    border-radius:50%;

    background:
    linear-gradient(
        135deg,
        #6366f1,
        #06b6d4
    );

    display:flex;
    justify-content:center;
    align-items:center;

    font-size:90px;

    animation:pulse 3s infinite;
}

@keyframes pulse{

    50%{
        transform:scale(1.05);
    }
}

/* Right Side */

.right{
    padding:50px;
}

.right h2{
    color:white;
    margin-bottom:10px;
}

.right p{
    color:#cbd5e1;
    margin-bottom:30px;
}

/* Form */

.group{
    position:relative;
    margin-bottom:25px;
}

.group input{

    width:100%;

    padding:16px;

    border:none;

    outline:none;

    border-radius:14px;

    background:
    rgba(255,255,255,.08);

    color:white;
}

.group label{

    position:absolute;

    left:16px;
    top:16px;

    color:#94a3b8;

    transition:.3s;
}

.group input:focus+label,
.group input:valid+label{

    top:-10px;
    left:10px;

    font-size:12px;

    padding:2px 8px;

    border-radius:8px;

    background:#111827;

    color:#06b6d4;
}

/* Security Badges */

.badges{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-bottom:25px;
}

.badge{

    padding:8px 12px;

    border-radius:30px;

    font-size:13px;

    color:white;

    background:
    rgba(255,255,255,.08);
}

/* Button */

.btn{

    width:100%;

    padding:16px;

    border:none;

    border-radius:14px;

    color:white;

    cursor:pointer;

    font-size:16px;

    background:
    linear-gradient(
        135deg,
        #6366f1,
        #06b6d4
    );

    transition:.3s;
}

.btn:hover{

    transform:translateY(-3px);

    box-shadow:
    0 15px 30px rgba(99,102,241,.4);
}

/* Footer */

.footer{

    margin-top:20px;

    text-align:center;
}

.footer a{

    color:#06b6d4;
    text-decoration:none;
}

/* Responsive */

@media(max-width:850px){

.wrapper{
    grid-template-columns:1fr;
}

.left{
    display:none;
}

.right{
    padding:30px;
}

}

</style>
</head>
<body>

<div class="blob b1"></div>
<div class="blob b2"></div>

<div class="wrapper">

    <div class="left">

        <h1>Password Recovery</h1>

        <p>
            Securely reset your account password
            using your registered email address.
        </p>

        <div class="illustration">
            🔐
        </div>

    </div>

    <div class="right">

        <h2>Forgot Password?</h2>

        <p>
            Enter your registered email and we'll
            send you a password reset link.
        </p>

        <div class="badges">
            <div class="badge">🔒 Secure</div>
            <div class="badge">⚡ Fast</div>
            <div class="badge">✓ Verified</div>
        </div>

        <form>

            <div class="group">
                <input type="email" required>
                <label>Email Address</label>
            </div>

            <button class="btn">
                Send Reset Link
            </button>

        </form>

        <div class="footer">
            Remember your password?
            <a href="#">Back to Login</a>
        </div>

    </div>

</div>

</body>
</html>
Live Preview HTML preview
Raw Code • 397 lines
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Forgot Password</title>

<style>

:root{
    --primary:#6366f1;
    --secondary:#8b5cf6;
    --accent:#06b6d4;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Inter,sans-serif;
}

body{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:20px;
    overflow:hidden;

    background:
    linear-gradient(
        135deg,
        #020617,
        #172554,
        #312e81
    );
}

/* Background Blobs */

.blob{
    position:absolute;
    border-radius:50%;
    filter:blur(100px);
    opacity:.5;
}

.b1{
    width:350px;
    height:350px;
    background:#6366f1;
    left:-100px;
    top:-100px;
    animation:float 10s infinite;
}

.b2{
    width:300px;
    height:300px;
    background:#06b6d4;
    right:-100px;
    bottom:-100px;
    animation:float 12s infinite;
}

@keyframes float{
    50%{
        transform:translateY(-40px);
    }
}

/* Main Container */

.wrapper{

    width:100%;
    max-width:1000px;

    display:grid;
    grid-template-columns:1fr 1fr;

    overflow:hidden;

    border-radius:30px;

    backdrop-filter:blur(20px);

    background:
    rgba(255,255,255,.08);

    border:1px solid rgba(255,255,255,.1);

    box-shadow:
    0 30px 60px rgba(0,0,0,.4);

    animation:show .8s ease;
}

@keyframes show{

    from{
        opacity:0;
        transform:translateY(30px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* Left Side */

.left{

    padding:50px;
    color:white;

    background:
    linear-gradient(
        135deg,
        rgba(255,255,255,.05),
        rgba(255,255,255,.02)
    );
}

.left h1{
    margin-bottom:15px;
    font-size:2rem;
}

.left p{
    color:#cbd5e1;
    margin-bottom:30px;
}

/* Illustration */

.illustration{

    width:220px;
    height:220px;

    margin:auto;

    border-radius:50%;

    background:
    linear-gradient(
        135deg,
        #6366f1,
        #06b6d4
    );

    display:flex;
    justify-content:center;
    align-items:center;

    font-size:90px;

    animation:pulse 3s infinite;
}

@keyframes pulse{

    50%{
        transform:scale(1.05);
    }
}

/* Right Side */

.right{
    padding:50px;
}

.right h2{
    color:white;
    margin-bottom:10px;
}

.right p{
    color:#cbd5e1;
    margin-bottom:30px;
}

/* Form */

.group{
    position:relative;
    margin-bottom:25px;
}

.group input{

    width:100%;

    padding:16px;

    border:none;

    outline:none;

    border-radius:14px;

    background:
    rgba(255,255,255,.08);

    color:white;
}

.group label{

    position:absolute;

    left:16px;
    top:16px;

    color:#94a3b8;

    transition:.3s;
}

.group input:focus+label,
.group input:valid+label{

    top:-10px;
    left:10px;

    font-size:12px;

    padding:2px 8px;

    border-radius:8px;

    background:#111827;

    color:#06b6d4;
}

/* Security Badges */

.badges{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-bottom:25px;
}

.badge{

    padding:8px 12px;

    border-radius:30px;

    font-size:13px;

    color:white;

    background:
    rgba(255,255,255,.08);
}

/* Button */

.btn{

    width:100%;

    padding:16px;

    border:none;

    border-radius:14px;

    color:white;

    cursor:pointer;

    font-size:16px;

    background:
    linear-gradient(
        135deg,
        #6366f1,
        #06b6d4
    );

    transition:.3s;
}

.btn:hover{

    transform:translateY(-3px);

    box-shadow:
    0 15px 30px rgba(99,102,241,.4);
}

/* Footer */

.footer{

    margin-top:20px;

    text-align:center;
}

.footer a{

    color:#06b6d4;
    text-decoration:none;
}

/* Responsive */

@media(max-width:850px){

.wrapper{
    grid-template-columns:1fr;
}

.left{
    display:none;
}

.right{
    padding:30px;
}

}

</style>
</head>
<body>

<div class="blob b1"></div>
<div class="blob b2"></div>

<div class="wrapper">

    <div class="left">

        <h1>Password Recovery</h1>

        <p>
            Securely reset your account password
            using your registered email address.
        </p>

        <div class="illustration">
            🔐
        </div>

    </div>

    <div class="right">

        <h2>Forgot Password?</h2>

        <p>
            Enter your registered email and we'll
            send you a password reset link.
        </p>

        <div class="badges">
            <div class="badge">🔒 Secure</div>
            <div class="badge">⚡ Fast</div>
            <div class="badge">✓ Verified</div>
        </div>

        <form>

            <div class="group">
                <input type="email" required>
                <label>Email Address</label>
            </div>

            <button class="btn">
                Send Reset Link
            </button>

        </form>

        <div class="footer">
            Remember your password?
            <a href="#">Back to Login</a>
        </div>

    </div>

</div>

</body>
</html>
Code copied to clipboard!