title: How can I make this card with ngFor like in this picture, with automatic adjust column in angular
body: <p>here's my code</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-html lang-html prettyprint-override"><code>&lt;div class="row px-5 py-4"&gt;
    &lt;div class="col-sm-12 col-md-6 col-lg-4" *ngFor="let row of data; let i = index"&gt;
      &lt;div class="card px-4 py-4 mb-3" style="height: 400px"&gt;
        &lt;div&gt;
          &lt;app-static-html [widget]="row" *ngIf="isStaticContent(row)"&gt;&lt;/app-static-html&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  <p><img src="https://i.stack.imgur.com/mSS5N.png" alt="1" /></p>
  <p>can you help me for this</p>
  <p>Appreciate your help</p>