"Pulse Button Boxshadow on button"
Bootstrap 4.1.1 Snippet by anmolv886

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<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 ---------->
<div class="container">
<div class="row">
<div class="wrapper">
<div class="example-1">Example 1</div>
<div class="example-2">Example 2</div>
<div class="example-3">Example 3</div>
</div>
<div style="clear: both;"></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
.wrapper
{
padding: 20px;
}
@keyframes shadow-pulse
{
0% {
box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.2);
}
100% {
box-shadow: 0 0 0 35px rgba(0, 0, 0, 0);
}
}
@keyframes shadow-pulse-big
{
0% {
box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.1);
}
100% {
box-shadow: 0 0 0 70px rgba(0, 0, 0, 0);
}
}
.example-1
{
float: left;
margin: 40px;
width: 130px;
height: 130px;
font: 13px/130px 'Barlow Semi Condensed', sans-serif;
text-transform: uppercase;
letter-spacing: 1px;
color: #fff;
text-align: center;
background: rgba(30, 144, 255, 0.6);
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: