查看susy site,在遇到断点时如何隐藏.secondary
?
答案 0 :(得分:1)
取自网站的GutHub source(删除了其他样式):
.guides, .tutorial {
.secondary { display: none; } // secondary starts hidden
@include at-breakpoint($break) {
.secondary { display: block; } // secondary becomes visible at breakpoint
}
}
答案 1 :(得分:1)
试试这个:
@include at-breakpoint($break) {
.secondary { display: none; }
}