eg.html 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. <link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
  2. <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
  3. <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
  4. <!------ Include the above in your HEAD tag ---------->
  5. <!DOCTYPE html>
  6. <html>
  7. <head>
  8. <title>My Awesome Login Page</title>
  9. <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
  10. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
  11. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.1/css/all.css" integrity="sha384-gfdkjb5BdAXd+lj+gudLWI+BXq4IuLW5IT+brZEZsLFm++aCMlF1V92rMkPaX4PP" crossorigin="anonymous">
  12. <style type="text/css">
  13. /* Coded with love by Mutiullah Samim */
  14. body,
  15. html {
  16. margin: 0;
  17. padding: 0;
  18. height: 100%;
  19. background: #60a3bc !important;
  20. }
  21. .user_card {
  22. height: 400px;
  23. width: 350px;
  24. margin-top: auto;
  25. margin-bottom: auto;
  26. background: #f39c12;
  27. position: relative;
  28. display: flex;
  29. justify-content: center;
  30. flex-direction: column;
  31. padding: 10px;
  32. box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  33. -webkit-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  34. -moz-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  35. border-radius: 5px;
  36. }
  37. .brand_logo_container {
  38. position: absolute;
  39. height: 170px;
  40. width: 170px;
  41. top: -75px;
  42. border-radius: 50%;
  43. background: #60a3bc;
  44. padding: 10px;
  45. text-align: center;
  46. }
  47. .brand_logo {
  48. height: 150px;
  49. width: 150px;
  50. border-radius: 50%;
  51. border: 2px solid white;
  52. }
  53. .form_container {
  54. margin-top: 100px;
  55. }
  56. .login_btn {
  57. width: 100%;
  58. background: #c0392b !important;
  59. color: white !important;
  60. }
  61. .login_btn:focus {
  62. box-shadow: none !important;
  63. outline: 0px !important;
  64. }
  65. .login_container {
  66. padding: 0 2rem;
  67. }
  68. .input-group-text {
  69. background: #c0392b !important;
  70. color: white !important;
  71. border: 0 !important;
  72. border-radius: 0.25rem 0 0 0.25rem !important;
  73. }
  74. .input_user,
  75. .input_pass:focus {
  76. box-shadow: none !important;
  77. outline: 0px !important;
  78. }
  79. .custom-checkbox .custom-control-input:checked~.custom-control-label::before {
  80. background-color: #c0392b !important;
  81. }
  82. </style>
  83. </head>
  84. <!--Coded with love by Mutiullah Samim-->
  85. <body>
  86. <div class="container h-100">
  87. <div class="d-flex justify-content-center h-100">
  88. <div class="user_card">
  89. <div class="d-flex justify-content-center">
  90. <div class="brand_logo_container">
  91. <img src="https://cdn.freebiesupply.com/logos/large/2x/pinterest-circle-logo-png-transparent.png" class="brand_logo" alt="Logo">
  92. </div>
  93. </div>
  94. <div class="d-flex justify-content-center form_container">
  95. <form>
  96. <div class="input-group mb-3">
  97. <div class="input-group-append">
  98. <span class="input-group-text"><i class="fas fa-user"></i></span>
  99. </div>
  100. <input type="text" name="" class="form-control input_user" value="" placeholder="username">
  101. </div>
  102. <div class="input-group mb-2">
  103. <div class="input-group-append">
  104. <span class="input-group-text"><i class="fas fa-key"></i></span>
  105. </div>
  106. <input type="password" name="" class="form-control input_pass" value="" placeholder="password">
  107. </div>
  108. <div class="form-group">
  109. <div class="custom-control custom-checkbox">
  110. <input type="checkbox" class="custom-control-input" id="customControlInline">
  111. <label class="custom-control-label" for="customControlInline">Remember me</label>
  112. </div>
  113. </div>
  114. </form>
  115. </div>
  116. <div class="d-flex justify-content-center mt-3 login_container">
  117. <button type="button" name="button" class="btn login_btn">Login</button>
  118. </div>
  119. <div class="mt-4">
  120. <div class="d-flex justify-content-center links">
  121. Don't have an account? <a href="#" class="ml-2">Sign Up</a>
  122. </div>
  123. <div class="d-flex justify-content-center links">
  124. <a href="#">Forgot your password?</a>
  125. </div>
  126. </div>
  127. </div>
  128. </div>
  129. </div>
  130. </body>
  131. </html>