1
我有这个在我的main.sass:编译萨斯它说不一致的缩进
24: height: 444px
25: background: linear-gradient(rgba(0,0,0, .7), rgba(0,0,0, .7))
26: position: relative
27:
28: .hero_background
29: bottom: 0
30: left: 0
31: overflow: hidden
32: position: absolute
33: right: 0
34: top: 0
编译时,萨斯说:
/*
Error: Inconsistent indentation: "\t " was used for indentation, but the rest of the document was indented using 1 tab. on line 29 of
有没有一种办法,我可以解决这个问题?
什么是哪个元素或类应用的线路24,25和26,你不用{} – Geeky
@Geeky包装你的代码当你使用SCSS时你使用了括号,但是如果你使用的是SASS,你不必使用括号或;。 –
什么是行24,25和26为哪个元素/类是 – Geeky