ahmed0saber

Flowers signup form in HTML CSS

May 31st, 2021
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.26 KB | None | 0 0
  1. <html>
  2.   <head>
  3.     <style>
  4.     body{
  5.       background-image:url("a2.jpg");
  6.       margin: 0;
  7.     }
  8.     div{
  9.       width: 80%;
  10.       height: 65%;
  11.       background-color: rgba(250,250,250,0.15);
  12.       position: absolute;
  13.       top:15%;
  14.       left: 10%;
  15.       text-align: center;
  16.       border-radius: 5px;
  17.     }
  18.     input {
  19.       padding: 10px;
  20.       font-size: 16px;
  21.       margin-bottom: 20px;
  22.       margin-top: 10px;
  23.       border: 2px solid black;
  24.       border-radius: 12px;
  25.     }
  26.     input[type=submit]{
  27.       background-color: #2222ff;
  28.       color: white;
  29.       width: 50%;
  30.       border: 1px solid white;
  31.     }
  32.     fieldset{
  33.       border-radius: 10px;
  34.     }
  35.     #p1{
  36.       color: #0000ff;
  37.       font-size: 24px;
  38.     }
  39.     #p2{
  40.       color: white;
  41.       font-size: 24px;
  42.     }
  43.     </style>
  44.   </head>
  45.   <body>
  46.     <div>
  47.       <fieldset>
  48.         <legend><b><span id="p1">Sign</span><span id="p2">up</span></b></legend>
  49.         <input type="text" placeholder="username">
  50.         <input type="text" placeholder="email">
  51.         <input type="password" placeholder="password">
  52.         <input type="password" placeholder="confirm password"><br>
  53.         <input type="submit" value="sign up">
  54.       </fieldset>
  55.     </div>
  56.   </body>
  57. </html>
Advertisement
Add Comment
Please, Sign In to add comment