CSS 当我尝试在括号中编写代码时,CodeSandBox 出现语法错误
CSS syntax error in CodeSandBox when i try to write code in a brakets
在VSCode中没有语法错误,但在CodeSandbox中,总是有一些语法错误。为什么会这样,我该如何解决?我很乐意提供任何建议。提前谢谢你。
This is the example of the code in CodeSandBox.
楼上的评论说的对。
确保您的文件扩展名是 scss
而不是 css
.
在VSCode中没有语法错误,但在CodeSandbox中,总是有一些语法错误。为什么会这样,我该如何解决?我很乐意提供任何建议。提前谢谢你。
This is the example of the code in CodeSandBox.
楼上的评论说的对。
确保您的文件扩展名是 scss
而不是 css
.