Dot pulse
by Alvin Olavarrieta
HTML
<a href="#" class="point"></a>
CSS
body {
padding-top: 50px;
padding-left: 50px;
}
.point {
border-radius: 50%;
display: none;
position: absolute;
z-index: 9999;
z-index: 2;
display: block;
width: 10px;
height: 10px;
background: #ff962c;
-webkit-transition: background-color 0.2s;
-moz-transition: background-color 0.2s;
-o-transition: background-color 0.2s;
transition: background-color 0.2s;
}
.point::after {
content: '';
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
border-radius: inherit;
z-index: 1;
-moz-transform: translateZ(0);
-o-transform: translateZ(0);
-ms-transform: translateZ(0);
-webkit-transform: translateZ(0);
transform: translateZ(0);
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
background-color: transparent;
-webkit-animation: cd-pulse 2s infinite;
-moz-animation: cd-pulse 2s infinite;
animation: cd-pulse 2s infinite;
-webkit-animation-delay: 0.5s;
-moz-animation-delay: 0.5s;
animation-delay: 0.5s
}
@-webkit-keyframes cd-pulse {
0% {
box-shadow: 0 0 0 0 #ff962c
}
100% {
box-shadow: 0 0 0 20px rgba(255, 150, 44, 0)
}
}
@-moz-keyframes cd-pulse {
0% {
box-shadow: 0 0 0 0 #ff962c
}
100% {
box-shadow: 0 0 0 20px rgba(255, 150, 44, 0)
}
}
@keyframes cd-pulse {
0% {
box-shadow: 0 0 0 0 #ff962c
}
100% {
box-shadow: 0 0 0 20px rgba(255, 150, 44, 0)
}
}