I have cards that I want to show 2 by 2 per line
<ion-card class="cardo" *ngFor="let transient of transients" (click)="itemTapped($event, transient)">
.cardo {
width: 40%;
}
How do I make it so that they appear side by side?
I have cards that I want to show 2 by 2 per line
<ion-card class="cardo" *ngFor="let transient of transients" (click)="itemTapped($event, transient)">
.cardo {
width: 40%;
}
How do I make it so that they appear side by side?
Sorry the problem is solved. I’m bad with css. I just put
display: inline-block;