Advertisement
Katsiree

login

Nov 7th, 2019
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.39 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3.  
  4. <head>
  5. <meta charset="UTF-8">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <meta http-equiv="X-UA-Compatible" content="ie=edge">
  8. <title>Login</title>
  9.  
  10. <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
  11.  
  12. <style>
  13. @font-face {
  14. font-family: 'DBHeavent';
  15. src: url("fonts/DBHeaventd41d.eot?#iefix") format("embedded-opentype"), url("fonts/DBHeavent.woff") format("woff"), url("fonts/DBHeavent.ttf") format("truetype"), url("fonts/DBHeavent.svg#DBHeavent") format("svg");
  16. font-weight: normal;
  17. font-style: normal
  18. }
  19.  
  20. @font-face {
  21. font-family: 'DBHeavent-Med';
  22. src: url("fonts/DBHeavent-Medd41d.eot?#iefix") format("embedded-opentype"), url("fonts/DBHeavent-Med.woff") format("woff"), url("fonts/DBHeavent-Med.ttf") format("truetype"), url("fonts/DBHeavent-Med.svg#DBHeavent-Med") format("svg");
  23. font-weight: normal;
  24. font-style: normal
  25. }
  26.  
  27. body {
  28. /* font-family: 'DBHeavent' !important; */
  29. line-height: 1.7;
  30. font-weight: 500;
  31. font-size: 1.1rem;
  32. background: #000000 url(bg_image_hori.jpg);
  33. background-position: center;
  34. background-size: cover;
  35. display: inline-block;
  36. background-attachment: fixed;
  37. width: 100%;
  38. }
  39.  
  40. .login_form {
  41. box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175) !important;
  42. padding: 5%;
  43. }
  44.  
  45. .input_txt {
  46. color: #a9a9a9 !important;
  47. text-align: center;
  48. width: 100%;
  49. border: none;
  50. background: rgba(0, 0, 0, 0.4);
  51. }
  52.  
  53. .inputBox {
  54. padding: 0 10%;
  55. }
  56.  
  57. input[type=text].input_txt:focus,
  58. input[type=password].input_txt:focus {
  59. border: none;
  60. outline: none;
  61. }
  62.  
  63.  
  64. @media (min-width: 992px) {
  65.  
  66. .login_form {
  67. background: #000000 url(bg_image_hori.jpg);
  68. background-position: center;
  69. background-size: 90%;
  70. display: inline-block;
  71. background-attachment: fixed;
  72. width: 100%;
  73. }
  74.  
  75. .txt_title {
  76. font-size: 35px;
  77. }
  78.  
  79. .inputBox .input_txt,
  80. .inputBox .btn_login {
  81. height: 130px;
  82. margin-bottom: 45px;
  83. }
  84.  
  85. .input_txt,
  86. .btn_login {
  87. font-size: 45px;
  88. border-radius: 15px;
  89. }
  90.  
  91. .inputBox {
  92. width: 990px;
  93. margin: auto;
  94. }
  95.  
  96. .img_logo {
  97. width: 480px;
  98. }
  99. }
  100.  
  101. @media (max-width: 992px) {
  102.  
  103. .login_form {
  104. background: #000000 url(bg_image.jpg);
  105. background-position: center;
  106. background-size: cover;
  107. display: inline-block;
  108. background-attachment: fixed;
  109. width: 100%;
  110. }
  111.  
  112. .txt_title {
  113. font-size: 18px;
  114. }
  115.  
  116. .inputBox .input_txt,
  117. .inputBox .btn_login {
  118. height: 65px;
  119. margin-bottom: 15px;
  120. }
  121.  
  122. .input_txt,
  123. .btn_login {
  124. font-size: 22px;
  125. border-radius: 5px;
  126. }
  127.  
  128. .container {
  129. padding: 0;
  130. }
  131.  
  132. .img_logo {
  133. width: 300px;
  134. }
  135.  
  136. .login_form {
  137. height: 100vh;
  138. }
  139. }
  140.  
  141.  
  142. @media (min-width: 1200px) {
  143. .container {
  144. max-width: 1720px !important;
  145. }
  146. }
  147. </style>
  148. </head>
  149.  
  150. <body>
  151.  
  152. <div class="container">
  153. <div class="login_form">
  154.  
  155. <span class="text-white txt_title">แนะนำ : Chrome Browser</span>
  156.  
  157. <div class="b_login text-center mt-5">
  158. <img src="https://www.ufacash.com/member/assets/img/ufacashnewlogo2.png" class="img_logo" alt="">
  159. <br>
  160. <h3 class="text-white mt-5">ลงชื่อเข้าใช้งานบัญชี</h3>
  161.  
  162. <div class="inputBox mt-5">
  163. <form action="" method="post">
  164.  
  165. <input type="text" id="usename" name="usename" class="input_txt" placeholder="ชื่อผู้ใช้">
  166. <input type="password" id="password" name="password" class="input_txt" placeholder="รหัสผ่าน">
  167. <button type="button" class="btn btn-info btn_login btn-block">เข้าสู่ระบบ</button>
  168.  
  169. </form>
  170. </div>
  171. </div>
  172.  
  173. </div>
  174. </div>
  175.  
  176.  
  177.  
  178. <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js">
  179. </script>
  180. <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js">
  181. </script>
  182. <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js">
  183. </script>
  184. </body>
  185.  
  186. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement