.shake {
background: none;
    border: none;
  position: relative;
animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in;
  cursor: pointer;
  animation-name: shakeAnim;
}
@keyframes shakeAnim {
  0% {left: 0}
  1% {left: -3px}
  2% {left: 5px}
  3% {left: -8px}
  4% {left: 8px}
  5% {left: -5px}
  6% {left: 3px}
  7% {left: 0}
}

@keyframes shake {
  0% {left: 0}
  1% {left: -3px}
  2% {left: 5px}
  3% {left: -8px}
  4% {left: 8px}
  5% {left: -5px}
  6% {left: 3px}
  7% {left: 0}
}