title: Align div inside a flex to the right
body: <p>How do I align the album cover <code>div</code> to the right inside the card. I tried with <code>align-self: end</code> property but that does not seem to work. Could anyone please help?</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>.card {
    border: 1px red solid;
    width: 450px;
    height: 150px;
    border-radius: 5px;
    display: flex;
    flex-direction: row;
  }
  
  .image {
    width: 150px;
    height: 150px;
    align-self: end;
    border: 1px solid green;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="card"&gt;
    &lt;div&gt;
      &lt;div&gt;Music controls&lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="image"&gt;Album Cover&lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>