标签: sass
即使map-get,$breakpoints中的第一个参数似乎是有效的Sass地图,我也会收到此错误。
map-get
$breakpoints
$breakpoints: ( mobile: 320px, tablet: 768px, desktop: 992px ); @mixin break($size) { @media (min-width: map-get($breakpoints, $size)) { @content; } }