📜  反应引导 css 模块使用媒体查询混合 - CSS 代码示例

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

代码示例1
/* when using webpack and bootstrap is installed via yarn/npm*/
@import '~bootstrap/scss/functions';
@import '~bootstrap/scss/variables';
@import '~bootstrap/scss/mixins/_breakpoints';

.someClass {
  @include media-breakpoint-up(md) {
      /* your styles to be applied on medium screens and up */
  }
}