Advertisement
Guest User

Untitled

a guest
Mar 16th, 2017
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.73 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title> Log In </title>
  5. <style>
  6.  
  7. @import url('https://fonts.googleapis.com/css?family=Roboto');
  8.  
  9. body {
  10. background-color: #bcbcbc;
  11. }
  12.  
  13. .title {
  14.  
  15. text-align: center;
  16. font-family:'Roboto', sans-serif;
  17. font-size: 5em;
  18. font-weight: bold;
  19. color: #ffffff;
  20. }
  21.  
  22. .loginContainer {
  23.  
  24. width: 400px;
  25. height: 300px;
  26. margin: auto;
  27. padding: 20px;
  28. background: rgba(255, 255, 255, 0.7);
  29. box-shadow: 1px 1px 15px #666666;
  30. border: 2px solid black;
  31. outline-color: black;
  32. border-radius: 20px;
  33. font-size: 1.75em;
  34. font-family:'Roboto', sans-serif;;
  35.  
  36. }
  37.  
  38. input[type=text], select {
  39. width: 100%;
  40. padding: 12px 20px;
  41. margin: 8px 0;
  42. display: inline-block;
  43. border: 1px solid #ccc;
  44. border-radius: 4px;
  45. box-sizing: border-box;
  46. }
  47.  
  48. input[type=password], select {
  49. width: 100%;
  50. padding: 12px 20px;
  51. margin: 8px 0;
  52. display: inline-block;
  53. border: 1px solid #ccc;
  54. border-radius: 4px;
  55. box-sizing: border-box;
  56. }
  57.  
  58. input[type=submit] {
  59. width: 100%;
  60. background-color: #8080ff;
  61. color: white;
  62. padding: 14px 20px;
  63. margin: 20px 0;
  64. border: none;
  65. border-radius: 4px;
  66. cursor: pointer;
  67. }
  68.  
  69. input[type=submit]:hover {
  70. background-color: #bcbcbc;
  71. }
  72.  
  73. </style>
  74. </head>
  75. <body>
  76.  
  77. <div class="title">
  78. <p>LOGIN</p>
  79. </div>
  80.  
  81. <div class="loginContainer">
  82. <form action="login.php">
  83. <label for="username">Username:</label>
  84. <input type="text" id="username" name="username">
  85. <label for="password">Password:</label>
  86. <input type="password" id="password" name="password">
  87. <input type="checkbox" name="spass" value="spass">Save Details?<br>
  88. <input type="submit" value="Submit">
  89. </form>
  90. </div>
  91. </body>
  92. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement