Bootstrap without rows?

后端 未结 5 1140
无人共我
无人共我 2021-02-05 16:44

I love bootstrap, but i\'m trying to achieve something totally outsides its expected grid, which is to have cells stack under each other without grouped lines. Something like Pi

5条回答
  •  北海茫月
    2021-02-05 17:03

    The key thing to realize about the col-(size)-(gridsize) is that they will wrap left to right then top to bottom. So, if you make a col with a grid size less than 12, other col will begin to wrap around. You can also nest them as needed to split up the page. So, it's possible to create a 'rowless' layout like so:

    (this isn't an amazing demo but it illustrates that what you want is possible) http://jsfiddle.net/7575A/1/

提交回复
热议问题