How to create new breakpoints in bootstrap 4 using CDN?

后端 未结 5 1118
故里飘歌
故里飘歌 2020-11-29 07:43

I use BootstrapCDN. Other styles written in sass and built by gulp. I need to create my own breakpionts. Is it possible to make them if I use CDN? I can\'t figure out how to

5条回答
  •  青春惊慌失措
    2020-11-29 08:20

    According to Github it seems you're running into a 'bug' here. See here: https://github.com/sass/sass/issues/1166

    That being said you'd have to write your variable definition in a single line just like that.

    $grid-breakpoints: (xxxs: 0, xxs: 320px, xs: 568px, sm: 667px, md: 768px, lg: 992px, xl: 1200px, xxl: 1440px, xxxl: 1600px) !default
    

提交回复
热议问题