Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to get the grids in bs3 to stack when screen is smaller than 480px?

According to the doc, extra small devices Phones (< 768px) grids are horizontal at all times, i.e., never get stacked. I am looking for a way to make the grids to become stacked when the screen is smaller than 480px.

like image 586
tkittich Avatar asked Aug 20 '13 10:08

tkittich


1 Answers

Add "col-xxs" class to your columns:

@media (max-width: 480px) { 
   .col-xxs {
      display:block;
      float:none;
      width: 100%
   }
}
like image 197
Ibrahim Benzer Avatar answered Nov 15 '22 14:11

Ibrahim Benzer