Premium Registration HTML

7 views 422 lines User registration form with modern input effects
Clean signup form with validation styles
HTML • 422 lines
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">

<title>Premium Registration</title>

<style>

:root{
    --primary:#6366f1;
    --secondary:#8b5cf6;
    --success:#10b981;
    --light:#f8fafc;
}

*{
    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,
        #0f172a
    );
}

/* Animated Background */

body::before,
body::after{
    content:"";
    position:absolute;
    border-radius:50%;
    filter:blur(100px);
    animation:float 12s infinite ease-in-out;
}

body::before{
    width:350px;
    height:350px;
    background:#6366f1;
    left:-100px;
    top:-100px;
}

body::after{
    width:300px;
    height:300px;
    background:#06b6d4;
    right:-80px;
    bottom:-80px;
}

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

/* Card */

.card{
    width:100%;
    max-width:650px;

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

    backdrop-filter:blur(20px);

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

    border-radius:30px;

    padding:40px;

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

    animation:show .8s ease;
}

@keyframes show{
    from{
        opacity:0;
        transform:translateY(40px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

.title{
    text-align:center;
    color:white;
    margin-bottom:30px;
}

/* Progress */

.progress{
    display:flex;
    justify-content:space-between;
    position:relative;
    margin-bottom:40px;
}

.progress::before{
    content:"";
    position:absolute;
    height:4px;
    width:100%;
    background:rgba(255,255,255,.1);
    top:18px;
    z-index:0;
}

.progress::after{
    content:"";
    position:absolute;
    height:4px;
    width:66%;
    background:
    linear-gradient(
        90deg,
        #6366f1,
        #06b6d4
    );
    top:18px;
    z-index:1;
}

.step{
    width:40px;
    height:40px;
    border-radius:50%;
    background:#6366f1;
    color:white;
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
    z-index:2;
    font-weight:600;
}

.step:last-child{
    background:rgba(255,255,255,.15);
}

/* Upload */

.upload-box{

    width:120px;
    height:120px;

    margin:auto;
    margin-bottom:30px;

    border-radius:50%;

    border:2px dashed rgba(255,255,255,.3);

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

    color:white;
    cursor:pointer;

    transition:.4s;
}

.upload-box:hover{
    transform:scale(1.05);
    border-color:#06b6d4;
}

/* Form */

.grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

.group{
    position:relative;
}

.group input{

    width:100%;

    padding:16px;

    border:none;

    border-radius:14px;

    outline:none;

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

    color:white;
}

.group label{

    position:absolute;

    left:15px;
    top:15px;

    color:#cbd5e1;

    transition:.3s;
}

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

    top:-10px;
    left:10px;

    font-size:12px;

    background:#111827;

    padding:2px 8px;

    border-radius:8px;

    color:#06b6d4;
}

.full{
    grid-column:span 2;
}

/* Password Strength */

.strength{
    margin-top:10px;
}

.bar{
    height:8px;
    border-radius:50px;
    overflow:hidden;
    background:rgba(255,255,255,.08);
}

.fill{
    width:75%;
    height:100%;
    background:
    linear-gradient(
        90deg,
        #f59e0b,
        #10b981
    );

    animation:grow 1.2s ease;
}

@keyframes grow{
    from{
        width:0;
    }
}

.strength p{
    color:#94a3b8;
    font-size:13px;
    margin-top:8px;
}

/* Button */

.btn{

    margin-top:30px;

    width:100%;

    padding:16px;

    border:none;

    border-radius:14px;

    color:white;

    font-size:16px;

    cursor:pointer;

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

    transition:.4s;
}

.btn:hover{

    transform:translateY(-3px);

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

/* Mobile */

@media(max-width:768px){

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

.full{
    grid-column:span 1;
}

.card{
    padding:25px;
}

}

</style>
</head>
<body>

<div class="card">

    <h2 class="title">
        Create Your Account
    </h2>

    <div class="progress">

        <div class="step">1</div>
        <div class="step">2</div>
        <div class="step">3</div>

    </div>

    <div class="upload-box">
        Upload Photo
    </div>

    <form>

        <div class="grid">

            <div class="group">
                <input required>
                <label>First Name</label>
            </div>

            <div class="group">
                <input required>
                <label>Last Name</label>
            </div>

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

            <div class="group full">
                <input type="password" required>
                <label>Password</label>
            </div>

        </div>

        <div class="strength">

            <div class="bar">
                <div class="fill"></div>
            </div>

            <p>Password Strength: Strong</p>

        </div>

        <button class="btn">
            Continue Setup
        </button>

    </form>

</div>

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

<title>Premium Registration</title>

<style>

:root{
    --primary:#6366f1;
    --secondary:#8b5cf6;
    --success:#10b981;
    --light:#f8fafc;
}

*{
    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,
        #0f172a
    );
}

/* Animated Background */

body::before,
body::after{
    content:"";
    position:absolute;
    border-radius:50%;
    filter:blur(100px);
    animation:float 12s infinite ease-in-out;
}

body::before{
    width:350px;
    height:350px;
    background:#6366f1;
    left:-100px;
    top:-100px;
}

body::after{
    width:300px;
    height:300px;
    background:#06b6d4;
    right:-80px;
    bottom:-80px;
}

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

/* Card */

.card{
    width:100%;
    max-width:650px;

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

    backdrop-filter:blur(20px);

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

    border-radius:30px;

    padding:40px;

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

    animation:show .8s ease;
}

@keyframes show{
    from{
        opacity:0;
        transform:translateY(40px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

.title{
    text-align:center;
    color:white;
    margin-bottom:30px;
}

/* Progress */

.progress{
    display:flex;
    justify-content:space-between;
    position:relative;
    margin-bottom:40px;
}

.progress::before{
    content:"";
    position:absolute;
    height:4px;
    width:100%;
    background:rgba(255,255,255,.1);
    top:18px;
    z-index:0;
}

.progress::after{
    content:"";
    position:absolute;
    height:4px;
    width:66%;
    background:
    linear-gradient(
        90deg,
        #6366f1,
        #06b6d4
    );
    top:18px;
    z-index:1;
}

.step{
    width:40px;
    height:40px;
    border-radius:50%;
    background:#6366f1;
    color:white;
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
    z-index:2;
    font-weight:600;
}

.step:last-child{
    background:rgba(255,255,255,.15);
}

/* Upload */

.upload-box{

    width:120px;
    height:120px;

    margin:auto;
    margin-bottom:30px;

    border-radius:50%;

    border:2px dashed rgba(255,255,255,.3);

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

    color:white;
    cursor:pointer;

    transition:.4s;
}

.upload-box:hover{
    transform:scale(1.05);
    border-color:#06b6d4;
}

/* Form */

.grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

.group{
    position:relative;
}

.group input{

    width:100%;

    padding:16px;

    border:none;

    border-radius:14px;

    outline:none;

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

    color:white;
}

.group label{

    position:absolute;

    left:15px;
    top:15px;

    color:#cbd5e1;

    transition:.3s;
}

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

    top:-10px;
    left:10px;

    font-size:12px;

    background:#111827;

    padding:2px 8px;

    border-radius:8px;

    color:#06b6d4;
}

.full{
    grid-column:span 2;
}

/* Password Strength */

.strength{
    margin-top:10px;
}

.bar{
    height:8px;
    border-radius:50px;
    overflow:hidden;
    background:rgba(255,255,255,.08);
}

.fill{
    width:75%;
    height:100%;
    background:
    linear-gradient(
        90deg,
        #f59e0b,
        #10b981
    );

    animation:grow 1.2s ease;
}

@keyframes grow{
    from{
        width:0;
    }
}

.strength p{
    color:#94a3b8;
    font-size:13px;
    margin-top:8px;
}

/* Button */

.btn{

    margin-top:30px;

    width:100%;

    padding:16px;

    border:none;

    border-radius:14px;

    color:white;

    font-size:16px;

    cursor:pointer;

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

    transition:.4s;
}

.btn:hover{

    transform:translateY(-3px);

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

/* Mobile */

@media(max-width:768px){

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

.full{
    grid-column:span 1;
}

.card{
    padding:25px;
}

}

</style>
</head>
<body>

<div class="card">

    <h2 class="title">
        Create Your Account
    </h2>

    <div class="progress">

        <div class="step">1</div>
        <div class="step">2</div>
        <div class="step">3</div>

    </div>

    <div class="upload-box">
        Upload Photo
    </div>

    <form>

        <div class="grid">

            <div class="group">
                <input required>
                <label>First Name</label>
            </div>

            <div class="group">
                <input required>
                <label>Last Name</label>
            </div>

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

            <div class="group full">
                <input type="password" required>
                <label>Password</label>
            </div>

        </div>

        <div class="strength">

            <div class="bar">
                <div class="fill"></div>
            </div>

            <p>Password Strength: Strong</p>

        </div>

        <button class="btn">
            Continue Setup
        </button>

    </form>

</div>

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