Advertisement
Tavxela

Untitled

Apr 27th, 2021
963
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 3.19 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6.     <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7.     <title>Document</title>
  8.  
  9.     <style type="text/css">
  10.         body {
  11.             background-color: lightblue;
  12.         }
  13.         div{
  14.             display: table;
  15.             text-align: center;
  16.             background-color: gray;
  17.             padding:20px;
  18.             margin:20px;
  19.             width:400px;
  20.             margin: 0 auto;
  21.         }
  22.  
  23.  
  24.         input[type="email"] {
  25.             margin-left: 2.2em;
  26.         }
  27.  
  28.         label {
  29.             font-family: pristina;
  30.             font-size: larger;
  31.             letter-spacing: 1px;
  32.             color: white;
  33.         }
  34.  
  35.         input, select {
  36.             margin: 5px;
  37.             padding: 5px;
  38.             font-size: 16px;
  39.             border-radius: 3px;
  40.             border: none;
  41.         }
  42.  
  43.         input[type="checkbox"]{
  44.  
  45.         }
  46.  
  47.         input[type="password"] {
  48.             margin-left: 15px;
  49.         }
  50.  
  51.         input[type="text"] {
  52.         }
  53.  
  54.         #bio {
  55.             width: 95%;
  56.             margin: 10px auto;
  57.             border: none;
  58.             resize: none;
  59.             padding: 5px;
  60.             box-sizing: border-box;
  61.         }
  62.  
  63.         select {
  64.             display: block;
  65.             width: 97%;
  66.             margin: 0 auto;
  67.         }
  68.  
  69.         input[type="submit"], input[type="reset"] {
  70.             border: 0;
  71.             width: 100px;
  72.             cursor: pointer;
  73.             padding: 10px;
  74.             margin-top: 10px;
  75.             box-shadow: 0 0 20px -5px black;
  76.             transition: 0.3s ease-in-out;
  77.         }
  78.  
  79.         input[type="submit"]:hover, input[type="reset"]:hover {
  80.             background-color: lightblue;
  81.         }
  82.         input[type="submit"]:active, input[type="reset"]:active {
  83.             transform: scale(0.9);
  84.         }
  85.  
  86.         #bio:focus, input:focus {
  87.             outline: none;
  88.             background-color: lightblue;
  89.         }
  90.        
  91.     </style>
  92. </head>
  93. <body>
  94.     <div id="form">
  95.         <form method="" action="">
  96.            <label for="user"> UserName: </label><input type="text" placeholder="enter your name" id="user" name="user"><br>
  97.            <label for="pass"> Password: </label><input type="password" placeholder="password" id="pass" name="pass"><br>
  98.            <label for="mail"> Email: </label><input type="email" placeholder="email" id="mail" name="mail">
  99.            <br>
  100.            <textarea col="30" rows="15" id="bio">
  101.                
  102.            </textarea>
  103.            <br>
  104.            <select name="gender" id="gen">
  105.                <option value="">Male</option>
  106.                <option value="">Female</option>
  107.                <option value="">Other</option>
  108.            </select>
  109.            <br>
  110.            <input type="checkbox" value="check" name="terms" id="check">
  111.            <label for="check">I Agree with Terms and Conditions </label>
  112.            <br>
  113.            <input type="reset" value="clear">
  114.            <input type= "submit" value="submit">
  115.            
  116.            
  117.        </form>
  118.    </div>
  119.    
  120.  
  121. </body>
  122. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement