📜  bootstrap 5 容器 - CSS 代码示例

📅  最后修改于: 2022-03-11 14:47:49.555000             🧑  作者: Mango

代码示例3
// Source mixin
@mixin make-container($padding-x: $container-padding-x) {
  width: 100%;
  padding-right: $padding-x;
  padding-left: $padding-x;
  margin-right: auto;
  margin-left: auto;
}

// Usage
.custom-container {
  @include make-container();
}