Guest User

Untitled

a guest
Mar 16th, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.89 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta name="viewport" content="width=device-width, initial-scale=1">
  5. <style>
  6. body {font-family: Arial, Helvetica, sans-serif;}
  7.  
  8. /* Full-width input fields */
  9. input[type=text], input[type=password] {
  10.  
  11. padding: 12px 20px;
  12. margin: 8px 0;
  13. display: inline-block;
  14. border: 1px solid #ccc;
  15. box-sizing: border-box;
  16. margin-left:1rem
  17. }
  18. input[type=text]:hover, input[type=password]:hover {
  19. border: 1px solid #b9b9b9;
  20. border-top: 1px solid #a0a0a0;
  21. -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
  22. -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
  23. box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
  24. }
  25. .loginmodal-container {
  26. padding: 30px;
  27. max-width: 350px;
  28. width: 100% !important;
  29. background-color: #F7F7F7;
  30. margin: 0 auto;
  31. border-radius: 2px;
  32. box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
  33. overflow: hidden;
  34. font-family: roboto;
  35. }
  36.  
  37. .loginmodal-container h1 {
  38. text-align: center;
  39. font-size: 1.8em;
  40. font-family: roboto;
  41. }
  42.  
  43. .loginmodal-container input[type=submit] {
  44. width: 100%;
  45. display: block;
  46. margin-bottom: 10px;
  47. position: relative;
  48. }
  49. .loginmodal-submit {
  50. border: 0px;
  51. color: #fff;
  52. text-shadow: 0 1px rgba(0,0,0,0.1);
  53. background-color: #4d90fe;
  54. padding: 17px 0px;
  55. font-family: roboto;
  56. font-size: 14px;
  57. }
  58.  
  59. .loginmodal-submit:hover {
  60. border: 0px;
  61. text-shadow: 0 1px rgba(0,0,0,0.3);
  62. background-color: #357ae8;
  63. }
  64. </style>
  65. </head>
  66. <body>
  67. <div class="loginmodal-container">
  68. <h1>Login</h1>
  69. <form>
  70. <label for="uname"><b>Username:</b></label>
  71. <input type="text" placeholder="Enter Username" name="uname" required>
  72. <br/>
  73. <label for="psw" style="margin-right:.2rem"><b>Password:</b></label>
  74. <input type="password" placeholder="Enter Password" name="psw" required>
  75. <br/>
  76. <input type="submit" name="login" class="login loginmodal-submit" value="Login">
  77.  
  78. </div>
  79. </body>
  80. </html>
Add Comment
Please, Sign In to add comment