📜  如何根据屏幕尺寸引导程序使用不同的按钮 - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:19.693000             🧑  作者: Mango

代码示例1
/* change all .btn to .btn-sm size on xs */
@include media-breakpoint-between(xs,sm){
  .btn {
      @include button-size($btn-padding-y-sm, $btn-padding-x-sm, $font-size-sm, $btn-border-radius-sm);
  }
}