"button hover effect"
Bootstrap 4.0.0 Snippet by ALIMUL AL RAZY

1
2
3
4
5
6
7
8
9
10
11
12
<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="container">
<div class="row">
<div class="btn-container">
<a class="btn standard-btn" href="#">Order Now!</a>
</div>
</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
.btn-container {
display: inline-block;
padding: 16px 0px;
margin: 0px 16px;
overflow: hidden;
}
*, *:before, *:after {
padding: 0px;
margin: 0px;
transition: 0.3s;
}
.standard-btn {
color: #34495e;
border: solid 1px #34495e;
font-size: 1rem;
position: relative;
z-index: 1;
padding: 15px 30px;
cursor: pointer;
font-size: 1.2rem;
text-transform: uppercase;
background: transparent;
}
.standard-btn:before {
display: block;
position: absolute;
top: 0px;
left: 0px;
width: 0px;
height: 100%;
z-index: -1;
content: "";
background: #34495e;
}
.standard-btn:hover {
color: #fff;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: