Html 缩进不一致:SaSS
第一次使用SASS。正在处理SASS主文件。制作了一个mixin并将其包含在样式中,但它显示了错误:- app.sass(第58行:不一致缩进:缩进使用了5个空格,但文档的其余部分使用了2个空格缩进) 代码的最后一行是第58行(+圆圈) 下面是我的app.sass代码Html 缩进不一致:SaSS,html,css,sass,Html,Css,Sass,第一次使用SASS。正在处理SASS主文件。制作了一个mixin并将其包含在样式中,但它显示了错误:- app.sass(第58行:不一致缩进:缩进使用了5个空格,但文档的其余部分使用了2个空格缩进) 代码的最后一行是第58行(+圆圈) 下面是我的app.sass代码 =circleThing($rad, $height, $width, $bg, $colour) -webkit-border-radius: $rad -moz-border-radius: $rad -ms-bord
=circleThing($rad, $height, $width, $bg, $colour)
-webkit-border-radius: $rad
-moz-border-radius: $rad
-ms-border-radius: $rad
border-radius: $rad
height: $height
width: $width
line-height: $height
text-align: center
background: $bg
color: $colour
margin: 0 auto
header
+circleThing(100%, 200px, 200px, $blue, white)
确保您正在使用预处理器SCS或sass?