Advertisement
sri211500

vLogin.php

Jan 14th, 2020
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.46 KB | None | 0 0
  1. <html lang="en">
  2. <head>
  3. <meta charset="UTF-8">
  4. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  5. <meta http-equiv="X-UA-Compatible" content="ie=edge">
  6. <title>Document</title>
  7. <style>
  8. body{
  9. margin: 0;
  10. padding: 0;
  11. font-family: comic sans ms;
  12. background: white;
  13. }
  14. fieldset{
  15. border-bottom:none;
  16. border-right:none;
  17. border-left:none;
  18. font-size:20px;
  19. }
  20. .kotak{
  21. background:red;
  22. border-radius: 10px;
  23. width: 300px;
  24. padding: 20px;
  25. position: absolute;
  26. top:50%;
  27. left: 50%;
  28. transform: translate(-50%, -50%);
  29. text-align: center;
  30. }
  31. .kotak h1{
  32. color:white;
  33. text-shadow: 3px 2px 2px navy;
  34. text-transform: uppercase;
  35. font-weight: 800;
  36. }
  37. .kotak input[type="text"], .kotak input[type="password"]{
  38. margin: 10px;
  39. text-align: center;
  40. border: 2px dashed rgba(0, 214, 214, 0.829);
  41. padding: 7px 5px;
  42. font-family: Comic Sans MS;
  43. width: 200px;
  44. color: crimson;
  45. transition: 0.5s;
  46. outline: none;
  47. border-top: none;
  48. border-left:none;
  49. border-right:none;
  50. background:none;
  51. }
  52. .kotak input[type="text"]:focus, .kotak input[type="password"]:focus{
  53. border: 2px solid;
  54. border-top: none;
  55. border-left:none;
  56. border-right:none;
  57. }
  58. .kotak input[type="submit"]{
  59. margin: 10px;
  60. text-align: center;
  61. border: none;
  62. font-family: Comic Sans MS;
  63. padding: 7px 5px;
  64. width: 100px;
  65. border-radius: 3px;
  66. transition: 1s;
  67. cursor: pointer;
  68. background:white;
  69. }
  70. .kotak input[type="submit"]:hover{
  71. background: crimson;
  72. color:white;
  73. }
  74. </style>
  75. </head>
  76. <body>
  77. <table class="kotak">
  78. <form class="form-horizontal" action="login.php" method="post">
  79. <tr>
  80. <td><fieldset><legend>Masuk Ke Akun Anda</legend></td>
  81. </tr>
  82. <tr>
  83. <td><input type="text" name="nama" placeholder="Nama Pengguna" class="form-control"></td>
  84. </tr>
  85. <tr>
  86. <td><input type="password" name="sandi" placeholder="Sandi" class="form-control"></td>
  87. </tr>
  88. <tr>
  89. <td col="2"><input type="submit" placeholder="Masuk"></td>
  90. </tr>
  91. </fieldset>
  92. </table>
  93. </body>
  94. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement