如果我在一行中放置超过 12 列,Bootstrap 会发生什么? [英] Bootstrap what will happen if I put more than 12 columns in a row?

查看:36
本文介绍了如果我在一行中放置超过 12 列,Bootstrap 会发生什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我在一行中放置超过 12 列会发生什么?

what will happen if I put more than 12 columns in a row?

Bootstrap 文档中对此有任何解释吗?

Is there any explanation on this in Bootstrap docs?

推荐答案

完全没问题.这只是意味着它们将向下碰撞到下一个视觉行,并响应性地腾出空间.一切都是为了这个目的而漂浮的.

It's totally fine. It just means they will bump down to the next visual row, and space out responsively. Everything is floated left for that very purpose.

我确实认为 .row 的命名会造成一些混乱,因为 .row 可以跨越多个行"div,具体取决于您的屏幕大小和 div 数量你叠起来.

I do think the naming of .row creates some confusion, because a .row can span multiple "rows" of divs depending on your screensize and the # of divs you stack up.

这篇关于如果我在一行中放置超过 12 列,Bootstrap 会发生什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆