【问题标题】:Custom Bootstrap Grid Breakpoints [duplicate]自定义引导网格断点 [重复]
【发布时间】:2018-10-25 02:36:56
【问题描述】:

我有两个问题: 1. $container-max-width Bootstrap 变量是做什么用的? 2. 如果我需要以下分辨率,我应该如何覆盖变量?

 sm: 0px -> 768px - tablet portrait
 md: 769px -> 1442px - tablet landscape and laptop
 lg: 1443px -> 1920px - large screens

【问题讨论】:

  • @ZimSystem - 我更新了问题。

标签: bootstrap-4 bootstrap-grid


【解决方案1】:

$container-max-widths: (sm: 767px, md: 1400px, lg: 1920px, xl: 1920px)

https://getbootstrap.com/docs/4.1/layout/grid/#customizing-the-grid

【讨论】:

  • 我更新了问题。你能帮忙吗?
猜你喜欢
  • 1970-01-01
  • 2020-09-21
  • 1970-01-01
  • 2019-01-17
  • 2018-10-18
  • 1970-01-01
  • 2018-09-12
  • 2019-03-19
  • 1970-01-01
相关资源
最近更新 更多