"contact button hover"
Bootstrap 3.0.0 Snippet by evarevirus

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
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.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="wrapper">
<div class="contact-form-page">
<div class="form-head">
<div class="header-btn">
<a class="top-btn" href="#"><i class="fa fa-times"></i></a>
</div>
</div>
<h1>Please fill the form - I will response as fast as I can!</h1>
<form>
<div class="form-group">
<label for="exampleInputText">Name</label>
<input type="text" class="form-control" required="required">
</div>
<div class="form-group">
<label for="exampleInputEmail1">Email</label>
<input type="email" class="form-control" id="exampleInputEmail1" required="required">
</div>
<div class="form-group">
<label for="exampleInputMessage">Message</label>
<textarea class="form-control" rows="3" required="required"></textarea>
</div>
<button type="submit" class="submit-buttom">Send</button>
</form>
</div>
<a class="buttom-btn" href="#"><i class="fa fa-times"></i></a>
</div>
<a class="github-source" href="https://github.com/speeedsam/Hello---Animated-Contact-Form" target="_blank"><i class="fa fa-github"></i></a>
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
html, body{
height: 100%;
overflow: hidden;
width: 100%;
}
body{
position: relative;
background: url(https://dl.dropboxusercontent.com/u/147644213/Image/bg.jpg) no-repeat;
background-size: cover;
}
body:before{
position: absolute;
content: '';
height: 100%;
width: 100%;
background: rgba(0, 0, 0, 0.7);
display: block;
z-index: ;
}
.contact-form-page{
height: 50px;
width: 50px;
display: block;
border-radius: 50%;
position: absolute;
bottom: 42px;
right: 42px;
overflow: hidden;
-webkit-transition: all 0.5s;
-moz-transition: all 0.5s;
-o-transition: all 0.5s;
transition: all 0.5s;
background: #7EC6E7;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
$( document ).ready(function() {
$(".buttom-btn").click(function(){
$(".top-btn").addClass('top-btn-show');
$(".contact-form-page").addClass('show-profile');
$(this).addClass('buttom-btn-hide')
});
$(".top-btn").click(function(){
$(".buttom-btn").removeClass('buttom-btn-hide');
$(".contact-form-page").removeClass('show-profile');
});
})
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: