title: My transition is not working on one of my elements
body: <p>I'm trying to make a simple set up with some cartoon characters, and it seems like whatever I try to do with my transition code to the 'tom' element it wont affect it. My transitions work on one of two elements, but i can't get it to work on the last one. I'm realtive new to coding, so dont be too harsh on my coding.
  Short story, I just want to add some transition to the element 'tom'.</p>
  
  <p>I've tried to change up the transition property, duration, timing function and delay, to different values. </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>#container {
    margin: auto;
    position: relative;
    width: 1000px;
    height: 650px;
    border: 2px solid rgb(0, 150, 150);
    background-color: rgb(0, 180, 200);
    overflow: hidden;
  }
  
  #jerry {
    position: absolute;
    width: 150px;
    left: -20px;
    bottom: 0px;
    transform: scaleX(-1);
    transition-timing-function: linear;
    transition-property: left;
    transition-delay: 0s;
    transition-duration: 1s;
  }
  
  #tom {
    position: absolute;
    height: 150px;
    bottom: 0px;
    right: -150px;
    transition-property: left;
    transition-duration: 1s;
    transition-timing-function: linear;
    transition-delay: 0s;
  }
  
  #container:hover #tom {
    right: 300px;
  }
  
  #container:active #jerry {
    left: -150px;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div id="container"&gt;
    &lt;img id="jerry" src="images/jerry.png" alt="jerry"&gt;
    &lt;img id="tom" src="images/tom.png" alt="tom"&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>