fork download
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  6. <title>Login Page</title>
  7. <style>
  8. body {
  9. margin: 0;
  10. padding: 0;
  11. font-family: Arial, sans-serif;
  12. background: #f5f5f5;
  13. }
  14.  
  15. .login-container {
  16. width: 300px;
  17. margin: 100px auto;
  18. padding: 30px;
  19. background: #fff;
  20. box-shadow: 0 0 10px rgba(0,0,0,0.1);
  21. border-radius: 10px;
  22. }
  23.  
  24. .login-container h2 {
  25. text-align: center;
  26. margin-bottom: 20px;
  27. }
  28.  
  29. .login-container input[type="text"],
  30. .login-container input[type="password"] {
  31. width: 100%;
  32. padding: 10px;
  33. margin: 10px 0;
  34. border: 1px solid #ccc;
  35. border-radius: 5px;
  36. }
  37.  
  38. .login-container button {
  39. width: 100%;
  40. padding: 10px;
  41. background: #007BFF;
  42. border: none;
  43. color: #fff;
  44. font-size: 16px;
  45. border-radius: 5px;
  46. cursor: pointer;
  47. }
  48.  
  49. .login-container button:hover {
  50. background: #0056b3;
  51. }
  52. </style>
  53. </head>
  54. <body>
  55. <div class="login-container">
  56. <h2>Login</h2>
  57. <form>
  58. <input type="text" placeholder="Username" required />
  59. <input type="password" placeholder="Password" required />
  60. <button type="submit">Login</button>
  61. </form>
  62. </div>
  63. </body>
  64. </html>
Success #stdin #stdout 0.02s 25556KB
stdin
Standard input is empty
stdout
<!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 {
      margin: 0;
      padding: 0;
      font-family: Arial, sans-serif;
      background: #f5f5f5;
    }

    .login-container {
      width: 300px;
      margin: 100px auto;
      padding: 30px;
      background: #fff;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
      border-radius: 10px;
    }

    .login-container h2 {
      text-align: center;
      margin-bottom: 20px;
    }

    .login-container input[type="text"],
    .login-container input[type="password"] {
      width: 100%;
      padding: 10px;
      margin: 10px 0;
      border: 1px solid #ccc;
      border-radius: 5px;
    }

    .login-container button {
      width: 100%;
      padding: 10px;
      background: #007BFF;
      border: none;
      color: #fff;
      font-size: 16px;
      border-radius: 5px;
      cursor: pointer;
    }

    .login-container button:hover {
      background: #0056b3;
    }
  </style>
</head>
<body>
  <div class="login-container">
    <h2>Login</h2>
    <form>
      <input type="text" placeholder="Username" required />
      <input type="password" placeholder="Password" required />
      <button type="submit">Login</button>
    </form>
  </div>
</body>
</html>