Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <title></title>
- <link rel="stylesheet" type="text/css" href="style1.css">
- <style>
- body { font-family: Arial,sans-serif;
- background-color: black; }
- .container { width :500px;
- height:300px;
- background-color: rgba(0,0,0,.5);
- display: inline-block;
- margin-left: 32%;
- margin-top: 21%;
- }
- .container .text h1 {margin-left: 185px;
- font-family: courier,monospace;
- color: violet;
- }
- .container input[type="username"] { width :250px;
- height:30px;
- margin-left: 130px;
- }
- .container input[type="password"]
- { width :252px;
- height:30px;
- margin-left: 130px;
- }
- .container button { width:256px;
- height:30px;
- margin-left: 130px;
- border: 2px solid black;
- border-radius: 10px;
- }
- .container button:active { background-color: blue;
- font-style: italic;
- }
- .tambah { margin-top: 20px; }
- .register { text-align: center;
- }
- .register a { text-decoration: none;
- }
- .forgoten_Password {text-align: center;
- }
- .forgoten_Password a { text-decoration: none;
- }
- </style>
- </head>
- <body>
- <!--
- *Latihan Membuat combobox input Login dan register.
- *dengan mengunakan html dan CSS saja ... hehe
- -->
- <div class="container">
- <div class="text"><h1>DARK<em>Chat</em></h1></div>
- <div class="input_Login">
- <input type="username" id="username" placeholder="username"></input>
- <br>
- <input type="password" id="password" placeholder="password"></input>
- <br><br>
- <button type"submit">Log in...</button>
- </div>
- <div class="tambah">
- <div class="register"><a href="register.html">Sign up</a></div><br>
- <div class="forgoten_Password"><a href="forgot">Forget Password?</a></div>
- </div>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment