I want to display cards in the center with two/three columns and multiple rows. The cards are displayed dynamically. I want to have equal space between each row of cards. I set this attribute fxLayoutAlign="space-between center" in my code. By refering this link https://tburleson-layouts-demos.firebaseapp.com/#/docs. It will not display correctly. There is no space between rows and the last row is not aligned properly with the column. Only the last row is not aligned vertically with the column. When I change the browser window size also the alignment is messed up. These are the versions I am using
Angular version - 2.4.10
"@angular/material": "2.0.0-beta.2",
"@angular/flex-layout@2.0.0-beta.5"
<div fxLayout="row" fxLayoutWrap fxLayoutGap="6rem" fxLayoutAlign="space-between center">
<md-card fxFlex.gt-md="40" fxFlex.md="50" fxFlex.sm="40" fxFlex.xs="100" *ngFor="let data of myData" [style.background]="'lightBlue'">
<md-card-header>
<md-card-title>element</md-card-title>
</md-card-header>
<md-card-content>
<h1>Main Content Data</h1>
<p>
Lorem Ipsum
</p>
</md-card-content>
</md-card>
</div>