"Anirudha Bhowmik animatting border on hover"
Bootstrap 4.0.0 Snippet by anirudhabhowmik

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/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 ---------->
<div class="a">
<a href="https://www.youtube.com/channel/UCXTfDJ60DBmA932Du6B1ydg
"><button class="btn-1 b"><span>Hover Me</span></button></a>
<a href="https://www.youtube.com/channel/UCXTfDJ60DBmA932Du6B1ydg
"><button class="btn-2 b"><span>Hover Me</span></button></a>
<a href="https://www.youtube.com/channel/UCXTfDJ60DBmA932Du6B1ydg
"><button class="btn-3 b"><span>Hover Me</span></button></a>
<a href="https://www.youtube.com/channel/UCXTfDJ60DBmA932Du6B1ydg
"><button class="btn-4 b"><span>Hover Me</span></button></a>
<a href="https://www.youtube.com/channel/UCXTfDJ60DBmA932Du6B1ydg
"><button class="btn-5 b"><span>Hover Me</span></button></a>
<a href="https://www.youtube.com/channel/UCXTfDJ60DBmA932Du6B1ydg
"><button class="btn-6 b"><span>Hover Me</span></button></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
.a{
height: 100vh;
background: #f54785;
}
.b{
display: inline-block;
position: relative;
border: none;
color: #fff;
font-size: 18px;
cursor: pointer;
margin: 20px 30px;
background-color: rgba(0,0,0,0.09);
}
.b span{
display: block;
padding: 25px 80px;
}
.b::before, .b::after{
content:"";
width: 0;
height: 2px;
position: absolute;
transition: all 0.2s linear;
background: #fff;
}
.b span::before, .b span::after{
content:"";
width:2px;
height:0;
position: absolute;
transition: all 0.2s linear;
background: #fff;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: