<div class="wrapper">
  <span></span>
  <span></span>
  <span></span>
  <span class="shadow"></span>
  <span class="text">Loading</span>
</div>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1">
  <defs>
    <filter id="love">
      <feGaussianBlur in="SourceGraphic" stdDeviation="10" result="blur" />
      <feColorMatrix in="blur" mode="matrix" values="1 0 0 0 0  0 1 0 0 0  0 0 1 0 0  0 0 0 18 -7"
                     result="love" />
      <feBlend in="SourceGraphic" in2="love" />
    </filter>
  </defs>
</svg>



<footer>
  <p>
		Created with <i class="fa fa-heart"></i> by
		<a target="_blank" href="https://codepen.io/ahmadbassamemran/">Ahmad Emran</a>
    Follow me : 
      <a target="_blank"  href="https://www.instagram.com/ahmadbassamemran/"><i class="fab fa-instagram"></i></a>
    <a target="_blank"  href="https://www.linkedin.com/in/ahmademarn/"><i class="fab fa-linkedin"></i></a>
    <a target="_blank" href="https://codepen.io/ahmadbassamemran/"><i class="fab fa-codepen"></i></a> 
        <a target="_blank" href="https://dev.to/ahmadbassamemran"><i class="fab fa-dev"></i></a> 
             <a target="_blank" href="https://twitter.com/ahmadbassamemra"><i class="fab fa-twitter-square"></i></a> 
	</p>
</footer>

<div class="youtubeBtn">
  <a target="_blank" href="https://www.youtube.com/AhmadEmran?sub_confirmation=1">
      <span>Watch on YouTube</span>
  <i class="fab fa-youtube"></i>
    </a>

</div>
body {
    background-color: #f1c40f;
    padding: 0px;
    margin: 0px;
    width: 100%;
    height: 100vh;
}

.wrapper {
    width: 125px;
    height: 200px;
    text-align: center;
    overflow: hidden;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    filter: url(#love);
    padding: 10px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wrapper span {
    width: 25px;
    height: 25px;
    background-color: #fff;
    border-radius: 50%;
    background-color: #e74c3c;
    transform-origin: 50%;
}

.wrapper span:nth-child(1) {
    animation: left 2s infinite ease-in-out;
}

@keyframes left {

    0%,
    100% {
        transform: translateY(0) translateX(20px) scale(2);
        background-color: #e74c3c;
    }

    40% {
        transform: translateY(0) translateX(25px) scale(1.6);
        background-color: #c0392b;
    }

    60% {
        transform: translateY(0) translateX(20px) scale(2);
        background-color: #e74c3c;
    }

    80% {
        transform: translateY(0) translateX(25px) scale(1.6);
        background-color: #c0392b;
    }
}

.wrapper span:nth-child(2) {
    animation: center 2s infinite ease-in-out;
}

@keyframes center {

    0%,
    100% {
        transform: translateY(20px) translateX(0px) scale(2);
        background-color: #e74c3c;
    }

    40% {
        transform: translateY(25px) translateX(0) scale(1.8);
        background-color: #c0392b;
    }

    60% {
        transform: translateY(20px) translateX(0px) scale(2);
        background-color: #e74c3c;
    }

    80% {
        transform: translateY(25px) translateX(0) scale(1.8);
        background-color: #c0392b;
    }

}

.wrapper span:nth-child(3) {
    animation: right 2s infinite ease-in-out;
}

@keyframes right {

    0%,
    100% {
        transform: translateY(0) translateX(-20px) scale(2);
        background-color: #e74c3c;
    }

    40% {
        transform: translateY(0) translateX(-25px) scale(1.6);
        background-color: #c0392b;
    }

    60% {
        transform: translateY(0) translateX(-20px) scale(2);
        background-color: #e74c3c;
    }

    80% {
        transform: translateY(0) translateX(-25px) scale(1.6);
        background-color: #c0392b;
    }

}

.wrapper span.shadow {
    position: absolute;
    left: 19%;
    background-color: rgba(0, 0, 0, .2);
    top: 180px;
    transform: translateX(-50%);
    height: 3px;
    width: 80px;
    filter: blur(.3px);
    transform-origin: 50%;
    animation: shadow 2s infinite ease-in-out;
}

@keyframes shadow {

    0%,
    100% {
        transform: scale(1.1);
        opacity: .7;
    }

    40% {
        transform: scale(.9);
        opacity: .3;
    }

    60% {
        transform: scale(1.1);
        opacity: .7;
    }

    80% {
        transform: scale(.9);
        opacity: .3;
    }
}


.wrapper span.text {
    position: absolute;
    width: 100%;
    background-color: transparent;
    font-family: 'Lato';
    font-size: 20px;
    letter-spacing: 9px;
    bottom: 0;
    text-align: center;
    color: #c0392b;
}



/*  footer   */
footer {
    background-color: #222;
    color: #fff;
    font-size: 14px;
    bottom: 0;
    position: fixed;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 999;
}

footer p {
    margin: 10px 0;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida  Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
footer .fa-heart{
    color: red;
}
footer .fa-dev{
    color: #fff;
}
footer .fa-twitter-square{
  color:#1da0f1;
}
footer .fa-instagram{
  color: #f0007c;
}
fotter .fa-linkedin{
  color:#0073b1;
}
footer .fa-codepen{
  color:#fff
}
footer a {
    color: #3c97bf;
    text-decoration: none;
  margin-right:5px;
}
.youtubeBtn{
    position: fixed;
    left: 50%;
  transform:translatex(-50%);
    bottom: 45px;
    cursor: pointer;
    transition: all .3s;
    vertical-align: middle;
    text-align: center;
    display: inline-block;
}
.youtubeBtn i{
   font-size:20px;
  float:left;
}
.youtubeBtn a{
    color:#ff0000;
    animation: youtubeAnim 1000ms linear infinite;
  float:right;
}
.youtubeBtn a:hover{
  color:#c9110f;
  transition:all .3s ease-in-out;
}
.youtubeBtn i:active{
  transform:scale(.9);
  transition:all .3s ease-in-out;
}
.youtubeBtn span{
    font-family: 'Lato';
    font-weight: bold;
    color: #000;
    display: block;
    font-size: 12px;
    float: right;
    line-height: 20px;
    padding-left: 5px;
  
}

@keyframes youtubeAnim{
  0%,100%{
    color:#c9110f;
  }
  50%{
    color:#ff0000;
  }
}
/* footer  */
Run Pen

External CSS

  1. https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.7.2/css/all.min.css

External JavaScript

This Pen doesn't use any external JavaScript resources.