I am trying to use the Bootstrap 4 map group functionality with Angular ngFor.
Here is the HTML that I have now, but I can’t find how to split into a new line after 3 elements have been inserted:
<div class="row card-group">
<div *ngFor="let presentation of presentations" class="col-4 card">
<a [routerLink]="['/presentation', presentation._id]">{{presentation.title}}</a>
</div>
</div>
I saw another answer saying that I am using the clearfix class, but this has not worked yet.
source
share