Bootstrap v4 - responsive text

后端 未结 1 1248
后悔当初
后悔当初 2021-01-28 05:40

How to use responsive text in bootstrap v4? I tried:

@include media-breakpoint-up(sm) {
  .resp-text {
    font-size: 16px;
  }
}

@include media-breakpoint-up(l         


        
相关标签:
1条回答
  • 2021-01-28 06:02

    there could be multiple reasons

    • ensure that you are using SASS with SASS Compiler if not then use normal media queries https://v4-alpha.getbootstrap.com/layout/overview/#responsive-breakpoints
    • if you are using SASS then ensure you have imported the correct mixins file to your core sass file.
    • if you think everything is perfect then compile sass files separately and post screenshot of the error so we can get it perfectly.
    0 讨论(0)
提交回复
热议问题