Dave's Brain

Browse - Programming Tips - How can I stop bootstrap from stacking my columns?

Date: 2017apr13
Product: Twitter Bootstrap
Language: CSS
Keywords: wrap, wrapping

Q.  How can I stop bootstrap from stacking my columns?

A.  Use the "xs" classes.

Change:

<div class="row"> <div class="col-sm-3"> ... </div> ... </div>
To:
<div class="row"> <div class="col-xs-3"> ... </div> ... </div>

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.