Untitled

Anonymous
plain_text
01/28/2026 1:31 PM
3.8 KB
43
Indexable
index.html


<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Signup Form</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <div class="container">
        <div class="signup-card">
            <h2>Create Account</h2>
            <form>
                <div class="input-group">
                    <label>Full Name</label>
                    <input type="text" placeholder="Enter your full name">
                </div>
                <div class="input-group">
                    <label>Email</label>
                    <input type="email" placeholder="Enter your email">
                </div>
                <div class="input-group">
                    <label>Password</label>
                    <input type="password" placeholder="Create a password">
                </div>
                <button type="submit" class="register-btn">Register</button>
            </form>
            <p class="login-text">Already have an account? <a href="#">Login</a></p>
        </div>
    </div>
</body>
</html>




style.css


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Soft blue gradient background from your image */
    background: linear-gradient(135deg, #c3dafb 0%, #a1c4fd 100%);
}

.signup-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px 50px;
    border-radius: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    text-align: left;
}

h2 {
    text-align: center;
    color: #333;
    font-size: 28px;
    margin-bottom: 30px;
}

.input-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 600;
    font-size: 14px;
}

input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e1e1e1;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    transition: 0.3s;
}

input::placeholder {
    color: #bbb;
}

input:focus {
    border-color: #7d5fff;
}

.register-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    /* Purple to Blue gradient matching the button */
    background: linear-gradient(to right, #7d5fff, #3182ce);
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: opacity 0.3s;
}

.register-btn:hover {
    opacity: 0.9;
}

.login-text {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #444;
}

.login-text a {
    color: #3182ce;
    text-decoration: none;
    font-weight: bold;
}
Editor is loading...
Leave a Comment