Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Document</title>
- <style type="text/css">
- body {
- background-color: lightblue;
- }
- div{
- display: table;
- text-align: center;
- background-color: gray;
- padding:20px;
- margin:20px;
- width:400px;
- margin: 0 auto;
- }
- input[type="email"] {
- margin-left: 2.2em;
- }
- label {
- font-family: pristina;
- font-size: larger;
- letter-spacing: 1px;
- color: white;
- }
- input, select {
- margin: 5px;
- padding: 5px;
- font-size: 16px;
- border-radius: 3px;
- border: none;
- }
- input[type="checkbox"]{
- }
- input[type="password"] {
- margin-left: 15px;
- }
- input[type="text"] {
- }
- #bio {
- width: 95%;
- margin: 10px auto;
- border: none;
- resize: none;
- padding: 5px;
- box-sizing: border-box;
- }
- select {
- display: block;
- width: 97%;
- margin: 0 auto;
- }
- input[type="submit"], input[type="reset"] {
- border: 0;
- width: 100px;
- cursor: pointer;
- padding: 10px;
- margin-top: 10px;
- box-shadow: 0 0 20px -5px black;
- transition: 0.3s ease-in-out;
- }
- input[type="submit"]:hover, input[type="reset"]:hover {
- background-color: lightblue;
- }
- input[type="submit"]:active, input[type="reset"]:active {
- transform: scale(0.9);
- }
- #bio:focus, input:focus {
- outline: none;
- background-color: lightblue;
- }
- </style>
- </head>
- <body>
- <div id="form">
- <form method="" action="">
- <label for="user"> UserName: </label><input type="text" placeholder="enter your name" id="user" name="user"><br>
- <label for="pass"> Password: </label><input type="password" placeholder="password" id="pass" name="pass"><br>
- <label for="mail"> Email: </label><input type="email" placeholder="email" id="mail" name="mail">
- <br>
- <textarea col="30" rows="15" id="bio">
- </textarea>
- <br>
- <select name="gender" id="gen">
- <option value="">Male</option>
- <option value="">Female</option>
- <option value="">Other</option>
- </select>
- <br>
- <input type="checkbox" value="check" name="terms" id="check">
- <label for="check">I Agree with Terms and Conditions </label>
- <br>
- <input type="reset" value="clear">
- <input type= "submit" value="submit">
- </form>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement