title: how to place last div into right top corner of parent div? (css)
body: <p>Can I somehow use CSS to place the <code>block2</code> in <strong>top right corner</strong> of <code>block1</code>?</p>
  <hr />
  <h3>Context :</h3>
  <ul>
  <li><code>block2</code> must be the (very) last inside HTML code of <code>block1</code> or it could be placed after <code>block1</code>. I can't make it the first element in <code>block1</code>.</li>
  <li>Within <code>block1</code> there could be <code>&lt;p&gt;</code>, images, text and it is beyond my control to know what and how many.</li>
  <li>Also I need the <code>block2</code> to flow.</li>
  </ul>
  <hr />
  <h3>Code :</h3>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="false" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.block1 {
      color: red;
      width: 100px;
      border: 1px solid green;
  }
  
  .block2 {
      color: blue;
      width: 70px;
      border: 2px solid black;
      position: relative;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class='block1'&gt;
      &lt;p&gt;text&lt;/p&gt;
      &lt;p&gt;text2&lt;/p&gt;
      &lt;div class='block2'&gt;block2&lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>