Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <title>Combo Box Login</title>
- <link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.min.css">
- <style>
- body{
- margin: o auto;
- background-color: #f3f;
- background-repeat: no-repeat;
- background-size: 200%;
- }
- .container {
- width: 500px;
- height: 400px;
- text-align: center;
- background-color: rgba(52, 73, 94, 0.4);
- border-radius: 4px;
- margin: 0 auto;
- margin-top: 150px;
- }
- .container img {
- position: static;
- width: 120px;
- height: 120px;
- margin-top: -60px;
- margin-right: 0px;
- margin-bottom: 30px;
- }
- input[type="text"]{
- height: 45px;
- width: 300px;
- font-size: 18px;
- margin-left: 12px;
- margin-top:40px;
- margin-bottom: 15px;
- background-color: #fff;
- padding-left: 40px;
- border: none;
- border-radius:20px;
- }
- input[type="password"]{
- height: 45px;
- width: 300px;
- font-size: 18px;
- margin-left: 20px;
- margin-top: 20px;
- margin-bottom: 15px;
- background-color: #fff;
- padding-left: 40px;
- border: none;
- border-radius:20px;
- }
- input:active[type="submit"] { background-color:blue;
- font-style:italic;;
- }
- .btn-login {
- padding: 15px 30px;
- cursor: pointer;
- color: #fff;
- background-color: #2ecc71;
- border: none;
- margin-bottom: 20px;
- margin-top: 20px;
- margin-left:40px;
- border-radius:20px;
- height:45px;
- width:340px;
- }
- a {
- color: #fff;
- text-decoration: none;
- }
- a:hover {
- color: salmon;
- }
- .text h1 { display:inline-block;
- margin-top:30px;
- font-family: Arial,sans-serif;
- }
- .text h1:hover { color: aqua; }
- </style>
- </head>
- <body>
- <div class="container">
- <div class="text"><h1> <em>Welcome Users</em> . . .</h1></div>
- <div class="image">
- </div>
- <form>
- <div class="form-input">
- <i class="fa fa-user aria-hidden="true" style="font-size:30px; color:pink; position: relative; right: -45px; top:5px;"></i>
- <input type="text" name="username" placeholder="Enter Username">
- </div>
- <div class="form-input">
- <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>
- <input type="submit" name="submit" value="LOGIN" class="btn-login"></input><br>
- <a href="#">Forget Password?</a>
- </div>
- </form>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment