"Login inspired by google"
Bootstrap 3.3.0 Snippet by villander

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<div class="container formulario">
<div class="card card-container">
<div class="headerInformacao">
<img class="imgPerfil" src="//lh4.googleusercontent.com/-fd2HgyJH_is/AAAAAAAAAAI/AAAAAAAAAAA/jYtI9MrvLcE/photo.jpg?sz=120">
</div>
<form role="form" class="formLogin" method="post" action="">
<div class="form-group">
<input type="email" class="form-control" name="email" placeholder="Email"required="required">
</div>
<div class="form-group">
<input type="text" class="form-control" name="senha" placeholder="Senha"required="required">
</div>
<div class="form-actions">
<button type="submit" onclick="" name="btnSubmit"class="btn btn-primary enviarDados">Login</button>
</div>
</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
@import url(http://fonts.googleapis.com/css?family=Montserrat:400,700);
html, body {
height: 100%;
}
.formulario {
height: 100%;
background-color: white;
border: 1px solidrgba(0, 0, 0, 0.3);
}
.card-container.card {
width: 600px;
height: 400px;
top: 50%;
position: absolute;
left: 50%;
margin-left: -300px;
margin-top: -200px;
}
.card {
background-color: #F7F7F7;
padding: 20px 25px 30px;
margin: 0 auto 25px;
margin-top: 50px;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
border-radius: 2px;
-moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
-webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
}
.headerInformacao{
height: 120px;
}
.imgPerfil{
position: absolute;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: