Advertisement
Guest User

Untitled

a guest
Dec 2nd, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 2.15 KB | None | 0 0
  1. <html>
  2.     <head>
  3.         <style>
  4.             body{
  5.                 color: white;
  6.             }
  7.  
  8.             .container {
  9.                 background-color: #181818;
  10.                 width: 350px;
  11.                 height: 450px;
  12.                 margin: 0 auto;
  13.             }
  14.  
  15.             .title{
  16.                 text-align: center;
  17.                 padding-top: 10px;
  18.                 font-size: xx-large;
  19.             }
  20.  
  21.            .register {
  22.                 width: 100%;
  23.                 height: 100px;
  24.                 padding-top: 38px;
  25.             }
  26.  
  27.             .registerBTN {
  28.                 float: left;
  29.                 width: 100%;
  30.                 height: 100%;
  31.                 background-color: rgba(0, 0, 0, 0);
  32.                 border: none;
  33.                 color: white;
  34.                 font-size: xx-large;
  35.                 transition-duration: 0.4s;
  36.             }
  37.  
  38.              .registerBTN:hover {
  39.                 background-color: green;
  40.             }
  41.  
  42.             .registerBTN:focus {
  43.                 outline: 0px;
  44.             }
  45.  
  46.             .username{
  47.                 text-align: center;
  48.             }
  49.  
  50.             .password{
  51.                 text-align: center;
  52.             }
  53.  
  54.  
  55.         </style>
  56.  
  57.         <script>
  58.             function Register()
  59.             {
  60.                 var userName = document.getElementById("username").value;
  61.                 var password = document.getElementById("password").value;
  62.  
  63.                 resourceCall("Register", userName, password);
  64.             }
  65.         </script>
  66.  
  67.     </head>
  68.  
  69.     <body>
  70.         <div class="container">
  71.             <div class="Title"> <h1> Register </h1> </div>
  72.             <div class="username">
  73.                 <h3>Username:</h3>
  74.                 <input id="username" class="usernameInput" type="text"/>
  75.             </div>
  76.             <div class="password">
  77.                 <h3>Password:</h3>
  78.                 <input id="password" class="passwordInput" type="password"/>
  79.             </div>
  80.             <div class="register"> <input class="registerBTN" type="button" value="Register" onclick="Register();"/> </div>
  81.         </div>
  82.     </body>
  83.  
  84. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement