Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta http-equiv="X-UA-Compatible" content="ie=edge">
- <title>Document</title>
- <style>
- body{
- margin: 0;
- padding: 0;
- font-family: comic sans ms;
- background: white;
- }
- fieldset{
- border-bottom:none;
- border-right:none;
- border-left:none;
- font-size:20px;
- }
- .kotak{
- background:red;
- border-radius: 10px;
- width: 300px;
- padding: 20px;
- position: absolute;
- top:50%;
- left: 50%;
- transform: translate(-50%, -50%);
- text-align: center;
- }
- .kotak h1{
- color:white;
- text-shadow: 3px 2px 2px navy;
- text-transform: uppercase;
- font-weight: 800;
- }
- .kotak input[type="text"], .kotak input[type="password"]{
- margin: 10px;
- text-align: center;
- border: 2px dashed rgba(0, 214, 214, 0.829);
- padding: 7px 5px;
- font-family: Comic Sans MS;
- width: 200px;
- color: crimson;
- transition: 0.5s;
- outline: none;
- border-top: none;
- border-left:none;
- border-right:none;
- background:none;
- }
- .kotak input[type="text"]:focus, .kotak input[type="password"]:focus{
- border: 2px solid;
- border-top: none;
- border-left:none;
- border-right:none;
- }
- .kotak input[type="submit"]{
- margin: 10px;
- text-align: center;
- border: none;
- font-family: Comic Sans MS;
- padding: 7px 5px;
- width: 100px;
- border-radius: 3px;
- transition: 1s;
- cursor: pointer;
- background:white;
- }
- .kotak input[type="submit"]:hover{
- background: crimson;
- color:white;
- }
- </style>
- </head>
- <body>
- <table class="kotak">
- <form class="form-horizontal" action="login.php" method="post">
- <tr>
- <td><fieldset><legend>Masuk Ke Akun Anda</legend></td>
- </tr>
- <tr>
- <td><input type="text" name="nama" placeholder="Nama Pengguna" class="form-control"></td>
- </tr>
- <tr>
- <td><input type="password" name="sandi" placeholder="Sandi" class="form-control"></td>
- </tr>
- <tr>
- <td col="2"><input type="submit" placeholder="Masuk"></td>
- </tr>
- </fieldset>
- </table>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement