Mobile Responsive With Bootstrap Grid And Expandable Columns
I have created a bootstrap grid page and it's working as I want on desktop screen. My actual problem is when I use mobile, I can't get how to reorder my cards in right way. Here's
Solution 1:
It works perfectly when applied proper classes like - col-xl-6 col-lg-6 col-md-6 col-sm-12
. So your snipper would be -
<div class="row m-2">
<div *ngFor="let card of cards; let indexC=index" class='col-xl-6 col-lg-6 col-md-6 col-sm-12' >
<app-expend [card]="card"></app-expend>
</div>
</div>
Check it live here, try resizing the output window.
- Snaps of output -
2. On small screen
Post a Comment for "Mobile Responsive With Bootstrap Grid And Expandable Columns"