Create Login Page Using HTML / CSS With Free Source Code By Indian Coding Wala


 HTML/CSS Source Code :- 

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Login Page</title>
    <style>
      body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
      }
      
      .container {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
      }
      
      .card {
        background-color: #01bac7;
        border-radius: 10px;
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
        width: 100%;
        max-width: 300px;
        padding: 60px;
        text-align: center;
      }
      
      .card h1 {
        font-size: 28px;
        font-weight: 600;
        margin-bottom: 30px;
      }
      
      .card input {
        width: 100%;
        border: none;
        border-radius: 20px;
        padding: 12px 12px;
        margin-bottom: 20px;
border: solid;
      }
      
      .card button {
        width: 100%;
        border: none;
        border-radius: 20px;
        padding: 12px 12px;
        background-color: #e9b108;
        color: #fff;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
      }
      
      @media screen and (max-width: 768px) {
        .card {
          padding: 20px;
        }
        
        .card h1 {
          font-size: 24px;
        }
      }
      
      @media screen and (max-width: 576px) {
        .card {
          padding: 10px;
        }
        
        .card h1 {
          font-size: 20px;
        }
        
        .card input,
        .card button {
          padding: 10px 20px;
          font-size: 14px;
        }
      }
    </style>
  </head>
  <body>
    <div class="container">
      <div class="card">
        <h1>Login</h1>
        <form>
          <div>
            <input type="text" placeholder="Username">
          </div>
          <div>
            <input type="password" placeholder="Password">
          </div>
          <button type="submit">Log In</button>
        </form>
      </div>
    </div>
  </body>
</html>