title: CSS Wobble Animation
body: <p>I'm trying to created a continuous wobble animation on a div id, and its not working for me. Any help would be greatly appreciated.</p>
  
  <p>This is my code:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.figure {
    display: inline-block;
    width: 200px;
    height: 200px;
    background: rgb(23, 147, 219);
    padding: 40px;
    box-shadow: inset -5px -15px rgba(0, 0, 0, .06);
    -moz-border-radius: 100px;
    -webkit-border-radius: 100px;
    border-radius: 50%;
    animation: wobble 5s ease-in-out infinite;
    transform-origin: center bottom;
    transition: padding .3s, bottom .3s;
    text-align: center;
  }
  
  @keyframes wobble {
    33% {
      transform: rotate(5deg);
    }
    66% {
      transform: rotate(-5deg);
    }
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="figure" &gt;&lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>