Login Register






Thread Rating:
  • 0 Vote(s) - 0 Average


Tutorial Simple login page - HTML CSS filter_list
Author
Message
Simple login page - HTML CSS #1
html + css

Code:
<!DOCTYPE html>
<html>
<head>
    <title>Login Form</title>
    <link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
    <div class="container">
        <form>
            <h2>Login</h2>
            <div class="inputBox">
                <input type="text" name="" required="">
                <label>Username or Email</label>
            </div>
            <div class="inputBox">
                <input type="password" name="" required="">
                <label>Password</label>
            </div>
            <input type="submit" name="" value="Login">
            <div class="remember">
                <label><input type="checkbox" name="">Remember me</label>
                <a href="#">Forgot Password?</a>
            </div>
        </form>
    </div>
</body>
</html>
Code:
body {
    background-color: #360033;
    background-image: linear-gradient(120deg, #360033, #0b8793);
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    background-color: rgba(255,255,255,0.9);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    margin: 150px auto;
    max-width: 500px;
    padding: 30px;
}

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

input[type="text"],
input[type="password"] {
    background: none;
    border: none;
    border-bottom: 2px solid #360033;
    color: #360033;
    font-size: 18px;
    margin-bottom: 20px;
    outline: none;
    padding: 10px 0;
    width: 100%;
}

input[type="submit"] {
    background-color: #360033;
    border: none;
    border-radius: 25px;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    margin-top: 20px;
    padding: 15px 30px;
    transition: background-color 0.5s;
    width: 100%;
}

input[type="submit"]:hover {
    background-color: #0b8793;
}

.remember {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}

.remember label {
    color: #360033;
    font-size: 16px;
}

.remember a {
    color: #360033;
    font-size: 16px;
    text-decoration: none;
}
Telegram : @xF0rGeT

[+] 1 user Likes f0rget's post
Reply

RE: Simple login page - HTML CSS #2
Damn, very nice login bro

Reply

RE: Simple login page - HTML CSS #3
(07-21-2023, 03:50 AM)RansowMare Wrote: Damn, very nice login bro

welcome <3
Telegram : @xF0rGeT

Reply

RE: Simple login page - HTML CSS #4
design is simple and nice keep it up

Reply







Users browsing this thread: 1 Guest(s)