title: CSS animation behavior
body: <p>I got this sample here is it possible to make the inside of the div which is "p" not animate but the div container animates?</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>div {
      width: 100px;
      height: 100px;
      background-color: red;
      -webkit-animation-name: example; /* Safari 4.0 - 8.0 */
      -webkit-animation-duration: 4s; /* Safari 4.0 - 8.0 */
      animation-name: example;
      animation-duration: 4s;
  }
  
  div p {
   position: absolute;
      top: 25px;
  }
  
  /* Safari 4.0 - 8.0 */
  @-webkit-keyframes example {
      0%{ opacity:.4;}
   100%{opacity:1;}
  }
  
  /* Standard syntax */
  @keyframes example {
      0%{ opacity:.4;}
   100%{opacity:1;}
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div&gt;&lt;p&gt;Sample text here.&lt;/p&gt;&lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>