Advertisement
dysphafiz_

Untitled

Jan 15th, 2020
333
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 2.12 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.     <style type="text/css">
  5.     body{
  6.         font-family: agency fb;
  7.         margin: 0;
  8.         padding: 0;
  9.         background: url(assets/pict/wr.jpg);
  10.         background-size: 100%;
  11.         color: white;
  12.     }
  13.  
  14.     .form-horizontal{
  15.         width: 410px;
  16.         padding: 15px;
  17.         position: absolute;
  18.         top: 50%;
  19.         left: 50%;
  20.         transform: translate(-50%, -50%);
  21.         background: #191919;
  22.         text-align: center;
  23.         border-radius: 7px;
  24.         height: 360px;
  25.         margin-top: -60px;
  26.     }
  27.  
  28.     h1{
  29.         color: white;
  30.         text-transform: uppercase;
  31.         font-weight: 700;
  32.         font-size: 32px;
  33.         font-family: agency fb;
  34.     }
  35.  
  36.     .form-horizontal input[type = "text"], .form-horizontal input[type = "password"]{
  37.     border: 0;
  38.     background: none;
  39.     display:block;
  40.     margin: 35px auto;
  41.     border: 2px solid #2c3e50;
  42.     padding: 14px 10px;
  43.     width: 250px;
  44.     outline: none;
  45.     color: white;
  46.     border-radius: 4px;
  47.     transition: 0.4s;
  48. }
  49.  
  50. .form-horizontal input[type = "text"]:focus, .form-horizontal input[type = "password"]:focus{
  51.     border: 2px #3498db solid;
  52. }
  53.  
  54. .form-horizontal button[type = "submit"]{
  55.     border: 2px solid #2c3e50;
  56.     background: #2c3e50;
  57.     display: block;
  58.     margin: 20px auto;
  59.     text-align: center;
  60.     padding: 10px 30px;
  61.     outline: none;
  62.     color: white;
  63.     border-radius: 4px;
  64.     transition: 0.3s;
  65.     cursor: pointer;
  66. }
  67.  
  68. .form-horizontal button[type = "submit"]:hover{
  69.     border:2px #3498db solid;
  70.     background: #3498db;
  71. }
  72.     </style>
  73. </head>
  74. <body>
  75.     <form class="form-horizontal" action="login.php" method="POST">
  76.         <h1>Login</h1>
  77.         <div class="form-group">
  78.             <label class="col-sm-2 control-label"></label>
  79.             <div class="col-sm-10">
  80.                 <input type="text" name="username" class="form-control" placeholder="Username">
  81.             </div>
  82.         </div>
  83.  
  84.         <div class="form-group">
  85.             <label class="col-sm-2 control-label"></label>
  86.             <div class="col-sm-10">
  87.                 <input type="password" name="password" class="form-control" placeholder="Password">
  88.             </div>
  89.         </div>
  90.  
  91.         <div class="form-group">
  92.             <label class="col-sm-2 control-label"></label>
  93.             <div class="col-sm-10">
  94.                 <button type="submit" class="btn btn-primary">Login</button>
  95.             </div>
  96.         </div>
  97.     </form>
  98. </body>
  99. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement