I switched from Bootstrap 3 to Bootstrap 4. I am using sass sources which I compile on the run.
(我从Bootstrap 3切换到Bootstrap4。我使用的是运行时编译的sass源。)
When I changed the libraries, I started to get error on my media switches, ie for (更改库后,我的媒体交换机开始出现错误,例如)
@media screen and (min-width: $screen-md-min) {
padding: 40px 50px;
}
I get error Undefined variable: "$screen-md-min".
(我收到错误未定义变量:“ $ screen-md-min”。)
What is a correct way to access variables of Bootstrap4?
(什么是访问Bootstrap4变量的正确方法?)
Thank u.
(感谢你。)
ask by Very Curious translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…