"Amazing Button Hover [Responsive]"
Bootstrap 4.1.1 Snippet by koshikojha

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
<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 ---------->
<svg width="0" height="0">
<filter id="filter">
<feTurbulence type="fractalNoise" baseFrequency=".01" numOctaves="6" />
<feDisplacementMap in="SourceGraphic" scale="100" />
</filter>
</svg>
<div class="wrapper">
<div class="button _1">
<span>hover</span><div class="back"></div>
</div>
<div class="button _2">
<span>hover</span><div class="back"></div>
</div>
<div class="button _3">
<span>hover</span><div class="back"></div>
</div>
<div class="button _4">
<span>hover</span><div class="back"></div>
</div>
</div>
<div class="support">
<a href="https://twitter.com/DevLoop01" target="_blank"><i class="fab fa-twitter-square"></i></a>
<a href="https://codepen.io/dev_loop/" target="_blank"><i class="fab fa-codepen"></i></a>
</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
:root {
--height: 100px;
--width: 200px;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
width: 100%;
height: 100vh;
background-image: linear-gradient(to right, #4facfe 0%, #00f2fe 100%);
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
font-family: sans-serif;
}
.wrapper {
width: calc(4 * var(--width));
height: calc(4 * var(--height));
display: flex;
justify-content: center;
align-items: center;
}
.button {
position: relative;
width: calc(0.8 * var(--width));
height: calc(0.7 * var(--height));
display: flex;
justify-content: center;
align-items: center;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: