Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. <style type="text/css">
  2.  
  3.   /* col-xs float fix for large column groups */
  4.  
  5.   .large-group .col-xs-12 {
  6.  
  7.     float: left;
  8.  
  9.   }
  10.  
  11.   /* col-sm float fix for large column groups */
  12.  
  13.   @media (min-width: 768px) {
  14.  
  15.     .large-group .col-sm-12 {
  16.  
  17.       float: left;
  18.  
  19.     }
  20.  
  21.   }
  22.  
  23.   /* col-md float fix for large column groups */
  24.  
  25.   @media (min-width: 992px) {
  26.  
  27.     .large-group .col-md-12 {
  28.  
  29.       float: left;
  30.  
  31.     }
  32.  
  33.   }
  34.  
  35.   /* col-lg float fix for large column groups */
  36.  
  37.   @media (min-width: 1200px) {
  38.  
  39.     .large-group .col-lg-12 {
  40.  
  41.       float: left;
  42.  
  43.     }
  44.  
  45.   }
  46.  
  47. </style>
  48.  
  49. <!-- Large Group Example HTML -->
  50.  
  51. <div class="container">
  52.  
  53.   <div class="row large-group" style="background-color:#ebebeb;">
  54.  
  55.     <div class="col-xs-9"><div style="background-color:#babeee;"><p>col 9</p></div></div>
  56.  
  57.     <div class="col-xs-3"><div style="background-color:#fefeeb;"><p>col 3</p></div></div>
  58.  
  59.     <div class="col-xs-12"><div style="background-color:#bada55;"><p>col 12</p></div></div>
  60.  
  61.   </div>
  62.  
  63. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement