-
-
Save parzibyte/c7afa11a7bfe467296b9f9efb19be2e6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="es"> | |
<!-- | |
Ejemplo de formulario de login con Bootstrap | |
Basado en: | |
Plantilla inicial de Bootstrap 4 | |
@author parzibyte | |
Visita: parzibyte.me/blog | |
--> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, | |
shrink-to-fit=no"> | |
<meta name="description" content="Formulario de login con Bootstrap"> | |
<meta name="author" content="Parzibyte"> | |
<title>Formulario de login con Bootstrap</title> | |
<!-- Cargar el CSS de Boostrap--> | |
<link href="./css/bootstrap.min.css" rel="stylesheet"> | |
</head> | |
<body> | |
<main role="main" class="container my-auto"> | |
<div class="row"> | |
<div id="login" class="col-lg-4 offset-lg-4 col-md-6 offset-md-3 | |
col-12"> | |
<h2 class="text-center">Bienvenido de nuevo</h2> | |
<img class="img-fluid mx-auto d-block rounded" | |
src="https://picsum.photos/id/870/300/200" /> | |
<form> | |
<div class="form-group"> | |
<label for="correo">Correo</label> | |
<input id="correo" name="correo" | |
class="form-control" type="email" | |
placeholder="Correo electrónico"> | |
</div> | |
<div class="form-group"> | |
<label for="palabraSecreta">Contraseña</label> | |
<input id="palabraSecreta" name="palabraSecreta" | |
class="form-control" type="password" | |
placeholder="Contraseña"> | |
</div> | |
<button type="submit" class="btn btn-primary mb-2"> | |
Entrar | |
</button> | |
<br> | |
<a href="#">Contraseña olvidada</a> | |
</form> | |
</div> | |
</div> | |
</main> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment