所以我是Saat和Bourbon的新手,因为某些原因,我使用的断点似乎没有响应。我像这样导入Sass
//Bourbon
@import "bourbon/app/assets/stylesheets/bourbon";
//Neat
@import "neat/app/assets/stylesheets/neat";
// Scut, a Sass utilities library: https://davidtheclark.github.io/scut/
@import "scut/dist/scut";
// Configuration variables
@import "config";
// Configuration layouts
@import "layout";
在Configs中我有
$break-tablet: new-breakpoint(min-width 480px, 6);
$break-desktop: new-breakpoint(min-width 761px, 10);
然后在布局中我会使用这样的东西而没有运气
#responsive-menu-toggle {
@include media($break-desktop) {
display: none;
}
}
我错过了什么吗?
符合
@media screen and (min-width: min-width 761px 100px) {
#responsive-menu-toggle {
display: none; } }