Where to edit bootstrap @grid-float-breakpoint

前端 未结 3 1307
粉色の甜心
粉色の甜心 2020-12-14 15:53

I know that you can change @grid-float-breakpoint in the \"variables.less\" file which compiles into the bootstrap package we all download and use (I think).



        
3条回答
  •  眼角桃花
    2020-12-14 16:30

    If you are using the SASS version, you'll find that variable in bootstrap/_variables.scss around line 286 and onward.

    The further you go down that file, the more math and options you'll see.

    I post that because people might come here looking for the SASS answer.

    It really is better to recompile your file, but if you are making exceptions to rules, it might be better to make a new ID or CLASS to refer to whatever you are doing.

提交回复
热议问题