title: 2 div seperated by a border
body: <p>I'm trying to create two centered div, which are seperated by a border like this.</p>
  
  <p>Didn't know how to insert the border between the two div.
  the two div are clickable.</p>
  
  <p><a href="https://i.stack.imgur.com/kjJrz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kjJrz.png" alt="enter image description here"></a></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>.homescreen-content {
      display: flex; 
      flex-direction: column; 
      max-height: 100% !important; 
    }
  .goto {
      margin-top:20%;
      left:0;
      height: 100% ;
      width: 100% !important;
      background-color: green;
      text-align: center;
  }
  
  .no {
      left:0;
      height: 100%;
     width: 100% !important;
      background-color: red;
      text-align: center;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="homescreen-content" scroll="false"&gt;
    &lt;div (click)="open()" class="goto"&gt;
        &lt;h2&gt;TITLE 1 CENTRED&lt;/h2&gt;
        &lt;p&gt;SOME CENTRED TEXT&lt;/p&gt;
    &lt;/div&gt;
    &lt;hr class="border"&gt;
    &lt;div (click)="open()" class="no"&gt;
        &lt;h2&gt;TITLE 2 CENTRED&lt;/h2&gt;
        &lt;p&gt;SOME CENTRED TEXT&lt;/p&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>