"Formulario de Sesión"
Bootstrap 4.1.1 Snippet by CLEVERMC

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<!DOCTYPE html>
<html lang="es">
<head>
<title>Formulario de sesion</title>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.0/css/all.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.0/css/v4-shims.css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
</head>
<body>
<div id="form">
<div id="content">
<center>
<div class="icon">
<i class="material-icons">account_circle</i>
<h4>LOGIN IN</h4>
</div>
</center>
<form action="" method="POST" id="formu">
<span><i class="fas fa-user"></i> <input type="text" name="user" placeholder="Usuario" required/></span><br>
<input type="password" name="pass" placeholder="Password" required/>
<center><button type="submit">INGRESAR</button></center>
</form>
</div>
</div>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
body{
background:url('https://www.tuexperto.com/wp-content/uploads/2017/10/fondo-de-pantalla-paisaje.jpg');
background-size: cover;
background-repeat:no-repeat;
}
h4{
color:white;
}
.icon i{
color:white;
font-size:120px;
cursor:pointer;
}
#form{
margin: auto;
background:#eee;
width:380px;
display: flex;
margin-top:5%;
border-radius:5px;
box-shadow:0 0 3px 3px white;
background:rgba(0,0,0,0.7);
}
#form #content{
margin:20px;
}
#formu{
margin-top:-30px;
}
input{
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: