【问题标题】:How to delete all breakpoints in Bootstrap 5?如何删除 Bootstrap 5 中的所有断点?
【发布时间】:2021-09-26 19:16:40
【问题描述】:

我不在我的项目中使用断点。 如何从 css 中删除所有 Bootstrap 5 断点?

【问题讨论】:

  • 我正在使用SASS和网格系统。

标签: twitter-bootstrap sass bootstrap-5


【解决方案1】:

只需设置默认 (xs) 断点...

@import "functions";
@import "variables";

$grid-breakpoints: (
  xs: 0
);

@import "bootstrap";

这里是a demo,显示 *-sm、*-md *-lg 等.. 没有效果。

【讨论】:

    猜你喜欢
    • 2010-12-12
    • 2016-12-16
    • 2013-08-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-06-15
    相关资源
    最近更新 更多