Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/75.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 缩进不一致:SaSS_Html_Css_Sass - Fatal编程技术网

Html 缩进不一致: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

第一次使用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-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?