title: CSS animation to pulse section of image
body: <p>I'm using CSS animation on a simple image.<br>
  I want the pulse animation only to target part of the image.<br>
  How I can make that pulse animation so that only the text "Trello" changes opacity?</p>
  
  <p>Here 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>.element {
    /*animation-delay: 2s;*/
    animation: pulse 3s infinite;
    margin: 0 auto;
    display: table;
    margin-top: 50px;
    animation-direction: alternate;
  }
  
  @keyframes pulse {
    0% {
      opacity: 1;
    }
    100% {
      opacity: 0.3;
    }
  }
  
  html,
  body {
    height: 100%;
    background-color: #e74c3c;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;img src="https://d78fikflryjgj.cloudfront.net/images/50b4ebc64391dc394a38e73aed57f0e2/header-logo.png" alt="" class="element" /&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p><a href="http://codepen.io/anon/pen/XpdLje" rel="noreferrer">View on CodePen</a></p>