.glitch {
  animation: glitchCenter 1s linear infinite;
}

.glitch:before, .glitch:after {
  content: attr(title);
  position: absolute;
}

.glitch:before{
  animation: glitchTop 1s linear infinite;
  clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
}

.glitch:after {
  animation: glitchBotom 1.5s linear infinite;
  clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
  -webkit-clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
}

@keyframes glitchCenter{
  2%,64%{ transform: translate(15px,0) skew(10deg); }
  4%,60%{ transform: translate(-15px,0) skew(10deg); }
  62%{ transform: translate(0,0) skew(10deg); }
}

@keyframes glitchTop{
  2%,64%{ transform: translate(10px,-10px); }
  4%,60%{ transform: translate(-10px,10px); }
  62%{ transform: translate(23px,-1px) skew(-13deg); }
}

@keyframes glitchBotom{
  2%,64%{ transform: translate(-10px,0); }
  4%,60%{ transform: translate(-10px,0); }
  62%{ transform: translate(-32px,5px) skew(21deg); }
}
