eq animation using gif

In this example below you will see how to do a eq animation using gif with some HTML / CSS and Javascript

Thumbnail
This awesome code was written by kirbysayshi, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright kirbysayshi ©
  • HTML
  • CSS
  • JavaScript
    <div class="wrap">

  <div class="eq"></div>
  <div class="eq"></div>
  <div class="eq"></div>
  <div class="eq"></div>
  <div class="eq"></div>
  <div class="eq"></div>
  <div class="eq"></div>
  <div class="eq"></div>
  <div class="eq"></div>
  <div class="eq"></div>
  <div class="eq"></div>
  <div class="eq"></div>
  <div class="eq"></div>
  <div class="eq"></div>
  <div class="eq"></div>
  <div class="eq"></div>
  <div class="eq"></div>
  <div class="eq"></div>
  <div class="eq"></div>
  <div class="eq"></div>
  <div class="eq"></div>
  <div class="eq"></div>
  <div class="eq"></div>
  <div class="eq"></div>
  <div class="eq"></div>
  <div class="eq"></div>
  <div class="eq"></div>
  <div class="eq"></div>
  <div class="eq"></div>
  <div class="eq"></div>
  
</div>

/*Downloaded from https://www.codeseek.co/kirbysayshi/eq-animation-using-gif-yyMPMr */
    .wrap { overflow: hidden; position: absolute; }

.eq {
  position: relative;
  width: 12px;
  height: 12px;
  overflow: hidden;
  background-image: url(data:image/gif;base64,R0lGODlhDAAMAPeoAA8TFxETExETF4O9AVd5CVd3CFh4C4G+AHCbBHGaAoS/AFh4CQ8UFRASExESGVd2CoW8AW6bBnCaBhEUEQ8UExARFg8SDnCaCHOYCA4UGW6cABIUFg8TGxITHBEVGA0ZAHGZCIO+AA4TE1d2DhARGFh3DVZ2B1l2Cg4UFwwXAA8TGXKXBhMYCxQRGRIVFBEVFg8QGA8WFll2CBsuAHKWDBITGhMSF4i6BRMSFRokA3CYBhIUGA0TFnGXAIi2DIu6Blt2FFd2DA0bAAsbAIW9AG6VCI62Elx3FQ8VGIa8ABISIg4VE3eVIhEWB1lzC4+3ExQXBhAaEnGbAIqzGAsVABAVBRgXDhETHhEVDWB4Hg8REg8VD3GZBhMUH1tyIT1YABUWBoW5BBAQ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gwYMIUZUqmEEQnUQJUYnAgIFBxAYXLlhMeMpUxI8gAwQpAbKkSYILAgIAIfkEBQMAqAAsAAABAAwACQAACDEAUZ1CRbCgwTs3CKIYssiBQYMiQEhg8LCgAAkSBlZEJYCgxo0gQ2raFPIUKQIlTwYEACH5BAUDAKgALAAAAQAMAAcAAAgpAE+hGkiwIKo1VgZmkFTpj0GCDSI8NGgKwUSCEiReNBgAyJGNAUiRCggAIfkEBQMAqAAsAAABAAwABgAACCgAUQlERajNGAEDUZ06JZCHjhUeEn7plLCixYQILw6kMOKERoWT0AQEACH5BAUDAKgALAAAAQAMAAoAAAg9AFEJRIUixoaBCAUywoDhBcJTAhIKVIEDx4wZAk/FMSWQwggZCU1xRHWKFCmJAwOYRCmxFMuBLl+iiskyIAAh+QQFAwCoACwAAAEADAAHAAAIMwBRCUTFAICNgQgF8tCxwkPCUwIFoIoAkQGmUKcgohJgauCpBwUCWEhIEpWWkggboEQVEAAh+QQFAwCoACwAAAEADAAHAAAILABRCUR1quCpgQhRZaDU4woqDlT4JDRlSuApUqQSJsRYUCNCEiQOehwo0mNAACH5BAUDAKgALAAAAgAMAAgAAAgpAFEJRMUgCigBqCiMODGwocOHAxk8KADR4alTFQXu2JFxYIOOqD5WDAgAIfkEBQMAqAAsAAABAAwACwAACDYAUQkcOJBDAIKoTik8lfBBAYJwLCnqgHCgCBAgXqAKQIpUxY8gByoMicpChYMhQzAkybIUyYAAIfkEBQMAqAAsAAABAAwACwAACCkAUQkcSJAFJ4IIE6I6JeDUKYUL8ZgJALGixYsCGT6EOIVNA4wVB1wMCAAh+QQFAwCoACwAAAEADAAKAAAINQBRCRw4UFSACQQTBiggI+GphBBPSUTF4EEBghIDBIAoUABHgh4hauzI8YOQCqhCQhzwUWBAACH5BAUDAKgALAAAAQAMAAkAAAgrAFEJHDhQwKlTBBMumeMkocOHA0+RIuXwIMQJYkjkgehAg4YJEC9iaRAyIAA7);
}


/*Downloaded from https://www.codeseek.co/kirbysayshi/eq-animation-using-gif-yyMPMr */
    

Comments