Skip to content

Instantly share code, notes, and snippets.

@fluushx
Created July 14, 2020 20:27
Show Gist options
  • Select an option

  • Save fluushx/b53a41da2328cc5288a717d3384b5599 to your computer and use it in GitHub Desktop.

Select an option

Save fluushx/b53a41da2328cc5288a717d3384b5599 to your computer and use it in GitHub Desktop.
Formulário
<html>
<head>
</head>
<body>
<div class="container">
<header class="header">
<h1 id="title" class="text-center">Carga de Uusuarios Singular </h1>
</header>
<form id="survey-form">
<div class="form-group">
<label id="Primer_nombre"
for="name">Primer nombre Nombre</label>
<input type="text" name="nombre" id="nombre" class="form-control"
placeholder="Ingrese su nombre" required/>
</div>
<form id="survey-form">
<label id="Segundo_Nombre"
for="name">Segundo nombre Nombre</label>
<input type="text" name="s2_nombre" id="s2_nombre" class="form-control"
placeholder="Ingrese su nombre" required/>
<form id="survey-form">
<label id="Primer_Apellido"
for="name">Primer Apellido</label>
<input type="text" name="1_apellido" id="1_apellido" class="form-control"
placeholder="Ingrese su apellido" required/>
<form id="survey-form">
<label id="Segundo_apellido"
for="name">Segundo Apellido</label>
<input type="text" name="2_apellido" id="2_apellido" class="form-control"
placeholder="Ingrese su apellido" required/>
<div class="form-group">
<label id="email-label" for="email">Ingrese su correo</label>
<input type="email" name="correo" id="correo"
class="form-control"
placeholder="Escriba su correo"
required
/>
<div class="form-group">
<label id="rut" for="rut">Ingrese su RUT</label>
<input type="email" name="rut" id="rut"
class="form-control"
placeholder="Ingrese su RUT"
required
/>
<div class="form-group">
<p>Seleccione cargo </p>
<select id="seleccion_cargo" name="seleccion_cargo" class="form-control" required>
<option disabled selected value>Seleccione cargo</option>
<option value="Cargo 1">Cargo 1</option>
<option value="Cargo 2">Cargo 2</option>
<option value="Cargo 3">Cargo 3</option>
</select>
</div>
<p>Seleccione Departamento </p>
<select id="seleccion_dpto" name="seleccion_dpto" class="form-control" required>
<option disabled selected value>Seleccione Departamento</option>
<option value="Departamento 1">Departamento 1</option>
<option value="Departamento 2">Departamento 2</option>
<option value="Departamento 3">Departamento 3</option>
</select>
</div>
<p>Seleccione Tipo </p>
<select id="seleccion_tipo" name="seleccion_tipo" class="form-control" required>
<option disabled selected value>Seleccione Tipo</option>
<option value="Tipo 1">Tipo 1</option>
<option value="Tipo 2">Tipo 2</option>
<option value="Tipo 3">Tipo 3</option>
</select>
</div>
<div class="form-group">
<button type="submit" id="Enviar_info" class="submit-button">
Enviar Informacion
</button>
</body>
</html>
@import url('https://fonts.googleapis.com/css?family=Poppins:200i,400&display=swap');
:root {
--color-white: #f3f3f3;
--color-darkblue: #1b1b32;
--color-darkblue-alpha: rgba(27, 27, 50, 0.8);
--color-green: #37af65;
}
*,
*::before,
*::after {
box-sizing: border-box;
}
body {
font-family: 'Poppins', sans-serif;
font-size: 1rem;
font-weight: 400;
line-height: 1.4;
color: var(--color-white);
margin: 0;
}
body::before {
content: '';
position: fixed;
top: 0;
left: 0;
height: 100%;
width: 100%;
z-index: -1;
);
background-image: linear-gradient(
115deg,
rgba(58, 58, 158, 0.8),
rgba(136, 136, 206, 0.7)
),
url(https://image.freepik.com/vector-gratis/fondo-abstracto-placa-circuito-tecnologia_41981-1454.jpg);
background-size: cover;
background-repeat: no-repeat;
background-position: center;
}
h1 {
font-weight: 400;
line-height: 1.2;
}
p {
margin-top: 0;
margin-bottom: 0.5rem;
}
label {
display: flex;
align-items: center;
font-size: 1.125rem;
margin-bottom: 0.5rem;
}
input,
button,
select,
textarea {
margin: 0;
font-family: inherit;
font-size: inherit;
line-height: inherit;
}
.container {
width: 100%;
margin: 3.125rem auto 0 auto;
}
@media (min-width: 576px) {
.container {
max-width: 540px;
}
}
@media (min-width: 768px) {
.container {
max-width: 720px;
}
}
.header {
padding: 0 0.625rem;
margin-bottom: 1.875rem;
}
.description {
font-style: italic;
font-weight: 200;
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);
}
.clue {
margin-left: 0.25rem;
font-size: 0.9rem;
color: #e4e4e4;
}
.text-center {
text-align: center;
}
/* form */
form {
background: var(--color-darkblue-alpha);
padding: 2.5rem 0.625rem;
border-radius: 0.25rem;
}
@media (min-width: 480px) {
form {
padding: 2.5rem;
}
}
.form-group {
margin: 0 auto 1.25rem auto;
padding: 0.25rem;
}
.form-control {
display: block;
width: 100%;
height: 2.375rem;
padding: 0.375rem 0.75rem;
color: #495057;
background-color: #fff;
background-clip: padding-box;
border: 1px solid #ced4da;
border-radius: 0.25rem;
transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.form-control:focus {
border-color: #80bdff;
outline: 0;
box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.input-radio,
.input-checkbox {
display: inline-block;
margin-right: 0.625rem;
min-height: 1.25rem;
min-width: 1.25rem;
}
.input-textarea {
min-height: 120px;
width: 100%;
padding: 0.625rem;
resize: vertical;
}
.submit-button {
display: block;
width: 100%;
padding: 0.75rem;
background: var(--color-green);
color: inherit;
border-radius: 2px;
cursor: pointer;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment