/* The animation code */
@keyframes quiz_banner {
    0% {width:100px;transform: rotate(0);}
    3% {width:103px;transform: rotate(5deg);}
    6% {width:100px;transform: rotate(-5deg);}
    9% {transform: rotate(0);}
    100% {transform: rotate(0);}
  }
  
  /* The element to apply the animation to */
  div.quiz-banner {
    position: fixed;
    z-index: 100;
    right: 10px;
    bottom: 40px;
    width: 100px;
    animation-name: quiz_banner;
    animation-duration: 2.5s;
    animation-iteration-count: infinite;
  }