Change width ionic columns depending on the device

I need make something like this example of boostrap grid system

 <!-- Stack the columns on mobile by making one full-width and the other half-width -->
 <div class="row">
   <div class="col-xs-12 col-md-8">.col-xs-12 .col-md-8</div>
   <div class="col-xs-6 col-md-4">.col-xs-6 .col-md-4</div>
 </div>

Please help me!!

Hi!

Need different sizes for columns depending on the platform in the documentation I do not see how to do this .

Using that documentation and ng-class combined with a function that checks the platform perhaps?

Yes i think too, this is a way, i ask because maybe exists other solution whitout angular.

thanks a loot.

1 Like