JSFiddle - React, Tailwind, and code Playground

by thanhansoft

HTML

<div class="fix_tel">
	      <div class="ring-alo-phone ring-alo-green ring-alo-show" id="ring-alo-phoneIcon" style="right: 150px;bottom: -12px;">
	        <div class="ring-alo-ph-circle"></div>
	        
	        <div class="ring-alo-ph-img-circle">

	          <a href="tel:0985950895">
	            <img class="lazy" src="http://laptrinhandroid.vn/wp-content/plugins/easy-call-now/public/images/phone-ring.png" alt="<php _e('Click to Call','call-now'); ?>">
	            
	            </a>
	        </div>
	      </div>
	      <div class="tel">
	          <a href="" class="fone">0985 95 0895</a>
	      </div>
	    </div>

CSS

.fix_tel {
 
position: fixed;
    bottom: 15px;
    left: 5px;
    z-index: 999;
}
.ring-alo-phone {
    background-color: transparent;
    cursor: pointer;
    height: 80px;
    position: absolute;
    transition: visibility 0.5s ease 0s;
    right: 150px;
    bottom: -12px;
    width: 80px;
    z-index: 200000 !important;
}
.ring-alo-ph-circle {
  border-color: #00a808;
      background-color: #00a808;
      opacity: 0.5;
    animation: 1.2s ease-in-out 0s normal none infinite running ring-alo-circle-anim;
    /* background-color: transparent; */
    border: 2px solid rgba(30, 30, 30, 0.4);
    border-radius: 100%;
    height: 70px;
    left: 10px;
    /* opacity: 0.1; */
    position: absolute;
    top: 12px;
    transform-origin: 50% 50% 0;
    transition: all 0.5s ease 0s;
    width: 70px;
}
.ring-alo-phone.ring-alo-green .ring-alo-ph-img-circle {
    background-color: #00a808;
        animation: 1s ease-in-out 0s normal none infinite running ring-alo-circle-img-anim;
    border: 2px solid transparent;
    border-radius: 100%;
    height: 30px;
    left: 30px;
    opacity: 1;
    position: absolute;
    top: 33px;
    transform-origin: 50% 50% 0;
    width: 30px;
}
.tel {
    background: #eee;
    width: 205px;
    height: 40px;
    position: relative;
    overflow: hidden;
    background-size: 40px;
    border-radius: 28px;
    border: solid 1px #ccc;
}
.fone {
    font-size: 22px;
     color: #00a808;
    line-height: 40px;
    font-weight: bold;
    padding-left: 45px;
text-decoration:none
}

.ring-alo-ph-img-circle a img {
    padding: 1px 0 0 1px;
    width: 30px;
    position: relative;
    top: -1px;
    height: auto;
    max-width: 100%;
}
@keyframes ring-alo-circle-anim {
	0% {
	    opacity: 0.1;
	    transform: rotate(0deg) scale(0.5) skew(1deg);
	}
	30% {
	    opacity: 0.5;
	    transform: rotate(0deg) scale(0.7) skew(1deg);
	}
	100% {
	    opacity: 0.6;
	    transform: rotate(0deg) scale(1) skew(1deg);
	}
}

@keyframes ring-alo-circle-img-anim...