Hendripanjaitan

Example combo box Login

May 28th, 2016
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 2.55 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.     <title>Combo Box Login</title>
  5.     <link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.min.css">
  6.     <style>
  7.         body{
  8.             margin: o auto;
  9.             background-color: #f3f;
  10.             background-repeat: no-repeat;
  11.             background-size: 200%;
  12.         }
  13.  
  14.         .container {
  15.             width: 500px;
  16.             height: 400px;
  17.             text-align: center;
  18.             background-color: rgba(52, 73, 94, 0.4);
  19.             border-radius: 4px;
  20.             margin: 0 auto;
  21.             margin-top: 150px;
  22.         }
  23.  
  24.         .container img {
  25.             position: static;
  26.             width: 120px;
  27.             height: 120px;
  28.             margin-top: -60px;
  29.             margin-right: 0px;
  30.             margin-bottom: 30px;
  31.  
  32.         }
  33.         input[type="text"]{
  34.  
  35.             height: 45px;
  36.             width: 300px;
  37.             font-size: 18px;
  38.             margin-left: 12px;
  39.             margin-top:40px;   
  40.             margin-bottom: 15px;
  41.             background-color: #fff;
  42.             padding-left: 40px;
  43.             border: none;
  44.             border-radius:20px;
  45.         }
  46.         input[type="password"]{
  47.  
  48.             height: 45px;
  49.             width: 300px;
  50.             font-size: 18px;
  51.             margin-left: 20px;
  52.             margin-top: 20px;
  53.             margin-bottom: 15px;
  54.             background-color: #fff;
  55.             padding-left: 40px;
  56.             border: none;
  57.             border-radius:20px;
  58.  
  59.         }
  60.         input:active[type="submit"] { background-color:blue;
  61.                           font-style:italic;;  
  62.  
  63. }
  64.  
  65.  
  66.        
  67.  
  68.         .btn-login {
  69.             padding: 15px 30px;
  70.             cursor: pointer;
  71.             color: #fff;
  72.             background-color: #2ecc71;
  73.             border: none;
  74.             margin-bottom: 20px;
  75.             margin-top: 20px;
  76.             margin-left:40px;
  77.             border-radius:20px;
  78.             height:45px;
  79.             width:340px;
  80.         }
  81.  
  82.         a {
  83.             color: #fff;
  84.             text-decoration: none;
  85.         }
  86.  
  87.         a:hover {
  88.             color: salmon;
  89.         }
  90.        
  91.         .text h1 { display:inline-block;
  92.                margin-top:30px;
  93.                font-family: Arial,sans-serif;      
  94.                
  95.              }
  96.         .text h1:hover { color: aqua; }
  97.        
  98.  
  99.        
  100.     </style>
  101. </head>
  102. <body>
  103.  
  104. <div class="container">
  105. <div class="text"><h1> <em>Welcome Users</em> . . .</h1></div>
  106. <div class="image">
  107.    
  108. </div>
  109.     <form>
  110.        
  111.         <div class="form-input">
  112.             <i class="fa fa-user aria-hidden="true" style="font-size:30px; color:pink; position: relative; right: -45px; top:5px;"></i>
  113.             <input type="text" name="username" placeholder="Enter Username">
  114.         </div>
  115.         <div class="form-input">
  116.             <i class="fa fa-lock" aria-hidden="true"  style="font-size:30px; color:pink;position:relative; right:-45px; top: 5px;"></i><input type="password" name="password" placeholder="Enter Password"><br>
  117.             <input type="submit" name="submit" value="LOGIN" class="btn-login"></input><br>
  118.             <a href="#">Forget Password?</a>
  119.         </div>
  120.  
  121.  
  122.    
  123.  
  124.  
  125.  
  126.  
  127.  
  128.     </form>
  129. </div>
  130.  
  131. </body>
  132. </html>
Advertisement
Add Comment
Please, Sign In to add comment