JSFiddle - React, Tailwind, and code Playground

by Ayyappan Sakthivadivel

HTML

<div class="pin-deactive">
  <div class='pin'></div>
  <div class='pulse'></div>
</div>

<div class='pin' style="margin-top: 20px"></div>
<div class='pulse'></div>

CSS

body{
  background-color: #9CDEF8;
}

.pin-deactive .pin{
  background-color: #fff;
}

.pin-deactive .pin:after{
  background-color: #9CDEF8;
  width: 12px;
  height: 12px;
  margin: 9px 0 0 9px;
}

.pin {
  width: 30px;
  height: 30px;
  border-radius: 50% 50% 50% 0;
  background: #00A1E0;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-animation-name: bounce;
  -moz-animation-name: bounce;
  -o-animation-name: bounce;
  -ms-animation-name: bounce;
  animation-name: bounce;
  -webkit-animation-fill-mode: both;
  -moz-animation-fill-mode: both;
  -o-animation-fill-mode: both;
  -ms-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-duration: 1s;
  -moz-animation-duration: 1s;
  -o-animation-duration: 1s;
  -ms-animation-duration: 1s;
  animation-duration: 1s;
  position: relative;
  border: #fff solid 3px;
}
.pin:after {
  content: '';
    width: 14px;
    height: 14px;
    margin: 8px 0 0 8px;
  background: #fff;
  position: absolute;
  border-radius: 50%;
}
.pulse {
  background: #155A75;
  border-radius: 50%;
  height: 14px;
  width: 14px;
  margin: 1px 0px 0px 11px;
  -webkit-transform: rotateX(55deg);
  -moz-transform: rotateX(55deg);
  -o-transform: rotateX(55deg);
  -ms-transform: rotateX(55deg);
  transform: rotateX(55deg);
    z-index: -2;
    position: absolute;
}
.pulse:after {
  content: "";
  border-radius: 50%;
  height: 40px;
  width: 40px;
  position: absolute;
  margin: -13px 0 0 -13px;
  -webkit-animation: pulsate 1s ease-out;
  -moz-animation: pulsate 1s ease-out;
  -o-animation: pulsate 1s ease-out;
  -ms-animation: pulsate 1s ease-out;
  animation: pulsate 1s ease-out;
  -webkit-animation-iteration-count: infinite;
  -moz-animation-iteration-count: infinite;
  -o-animation-iteration-count: infinite;
  -ms-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  opacity:...