title: How can I make my divs wrap on window/screen size change?
body: <p>I know how to wrap items (in theory) but I must be doing something wrong. These are refusing.</p>
  
  <p>I just want two profiles, side by side, that stack into a column when the window width shrinks. At the moment, they sort of squish together and overlap.</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>#profile-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    padding-bottom: 5%;
  }
  
  .profile-desc {
    width: 35%;
    margin: 5% 5%;
    text-align: center;
  }
  
  #profileM {
    height: 230px;
    width: 219px;
  }
  
  #profileF {
    height: 230px;
    width: 219px;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div id="profile-container"&gt;
    &lt;div class="profile-desc" style="float:left;width:35%;padding: 5px;"&gt;
      &lt;img src="images/male.jpg" id="profileM"&gt;
      &lt;h3 style="color:white;background-color:rgb(244,212,69);"&gt;
        Name
      &lt;/h3&gt;
      &lt;h4 style="color: rgb(244,212,69);"&gt;
        Occupation
      &lt;/h4&gt;
      &lt;p&gt;
        Description
      &lt;/p&gt;
    &lt;/div&gt;
  
    &lt;div class="profile-desc" style="float:right;width:35%; padding: 5px;"&gt;
      &lt;img src="images/female.jpg" id="profileF"&gt;
      &lt;h3 style="color:white;background-color:rgb(244,212,69);"&gt;
        Name
      &lt;/h3&gt;
      &lt;h4 style="color: rgb(244,212,69);"&gt;
        Occupation
      &lt;/h4&gt;
      &lt;p&gt;
        Description
      &lt;/p&gt;
    &lt;/div&gt;
  
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>