📜  媒体断点引导程序 4 - TypeScript 代码示例

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

代码示例1
@include media-breakpoint-up(xs) { ... }
@include media-breakpoint-up(sm) { ... }
@include media-breakpoint-up(md) { ... }
@include media-breakpoint-up(lg) { ... }
@include media-breakpoint-up(xl) { ... }

// Example usage:
@include media-breakpoint-up(sm) {
  .some-class {
    display: block;
  }
}