在bootstrap 3.x中是否有m-t-1 class of bootstrap 4.x的等价物?
Is there equivalent of m-t-1 class of bootstrap 4.x in bootstrap 3.x?
如标题所述:我在 bootstrap 4(alpha 版)中看到有一些 类 可以处理边距和填充,例如 m-t-1
、p-a-1
等
我知道...我可以使用自定义 类。但仅供参考,在 bootstrap 3 中是否存在 m-t-1
、p-a-1
等值的 类?
Tnx
不,填充和边距的 spacing utility classes 是在 Bootstrap 4 中引入的,因此 Bootstrap 3 中没有等效项。
示例..
mb-2
= 底部边距 2 个间距单位
m-0
= 无边距
pt-3
= 填充前 3 个间距单位
p-1
= 填充所有边 1 个间距单位
py-3
= padding top & bottom (y-axis) sides 3 spacing units
有关 , and what's new in Bootstrap 4 的更多信息。
如标题所述:我在 bootstrap 4(alpha 版)中看到有一些 类 可以处理边距和填充,例如 m-t-1
、p-a-1
等
我知道...我可以使用自定义 类。但仅供参考,在 bootstrap 3 中是否存在 m-t-1
、p-a-1
等值的 类?
Tnx
不,填充和边距的 spacing utility classes 是在 Bootstrap 4 中引入的,因此 Bootstrap 3 中没有等效项。
示例..
mb-2
= 底部边距 2 个间距单位
m-0
= 无边距
pt-3
= 填充前 3 个间距单位
p-1
= 填充所有边 1 个间距单位
py-3
= padding top & bottom (y-axis) sides 3 spacing units
有关