Advertisement
Metziop

Untitled

May 25th, 2021
1,297
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 3.09 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="es">
  3.  
  4. <head>
  5.     <meta charset="UTF-8">
  6.     <title> Formulario</title>
  7.  
  8.     <style>
  9.         btn {
  10.  
  11.             width: 250px;
  12.             border-radius: 3px;
  13.             display: inline-block;
  14.             padding: 20px 15px;
  15.             text-decoration: none;
  16.             text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
  17.             box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
  18.         }
  19.  
  20.         .btn-green {
  21.             color: white;
  22.             background-color: #3CC93F;
  23.         }
  24.  
  25.         .btn-green:hover {
  26.             background-color: #37B839;
  27.         }
  28.  
  29.         .btn-green:active {
  30.             background-color: #29962A;
  31.         }
  32.  
  33.         .btn-red {
  34.             color: white;
  35.             background-color: #E34242;
  36.         }
  37.  
  38.         .btn-red:hover {
  39.             background-color: #C43535;
  40.         }
  41.  
  42.         .btn-red:active {
  43.             background-color: #A62828;
  44.         }
  45.  
  46.         body {
  47.             font-family: Arial;
  48.             background-color: #18a383;
  49.             box-sizing: border-box;
  50.         }
  51.  
  52.         form {
  53.             background-color: white;
  54.             font-size: 12px;
  55.             border-radius: 3px;
  56.             color: #999;
  57.             padding: 20px;
  58.             margin: 0 auto;
  59.             width: 300px;
  60.         }
  61.  
  62.         input {
  63.             outline: none;
  64.             border: 0px;
  65.             width: 280px;
  66.         }
  67.  
  68.         .boxes {
  69.             border: solid 1px #ccc;
  70.             padding: 10px;
  71.             width: 280px;
  72.  
  73.         }
  74.  
  75.         .boxes:focus {
  76.             border-color: #18a383;
  77.         }
  78.  
  79.         .center-content {
  80.             text-align: center;
  81.         }
  82.     </style>
  83. </head>
  84.  
  85. <body>
  86.     <form action="enviar.php" method="POST">
  87.         <p><label for="nombre">Ingrese su nombre:</label></p>
  88.         <input type="text" placeholder="Escriba su nombre" name="nombre" id="nombre" class="boxes"><br>
  89.         <p><label for="Apellido1">Ingrese su primer apellido:</label></p>
  90.         <input type="text" placeholder="Primer Apellido" name="Apellido1" id="Apellido1" class="boxes"><br>
  91.         <p><label for="Apellido2">Ingrese su segundo apellido:</label></p>
  92.         <input type="text" placeholder="Segundo apellido" name="Apellido2" id="Apellido2" class="boxes"><br>
  93.         <p><label for="correo">Ingrese su correo:</label></p>
  94.         <input type="email" placeholder="Email" name="correo" id="correo" class="boxes"><br>
  95.         <p><label for="password">Ingrese su contraseña:</label></p>
  96.         <input type="password" placeholder="contraseña" name="password" id="password" class="boxes"><br>
  97.         <p><label for="FDN">Ingrese su fecha de nacimiento:</label></p>
  98.         <input type="date" placeholder="00/00/0000" name="FDN" id="FDN" class="boxes"><br><br>
  99.         <label>Seleccione su sexo: H/M</label>
  100.         <input type="text" placeholder="gender" name="gender" id="gender" class="boxes"><br>
  101.        
  102.         <br><br>
  103.  
  104.         <p class="center-content">
  105.             <input type="submit" name="Enviar" id="boton1" class="btn btn-red">
  106.         </p>
  107.     </form>
  108.  
  109. </body>
  110.  
  111. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement