Css 较少内容无法识别的输入

Css 较少内容无法识别的输入,css,less,preprocessor,Css,Less,Preprocessor,这是我的less代码,我的预处理器告诉我内容:”是无法识别的输入。帮忙 #top-nav{ position: relative; height: @top-nav-height; line-height: @top-nav-height; background: #990000; z-index: 5; text-transform: uppercase; &:before { display: block; 

这是我的less代码,我的预处理器告诉我内容:”是无法识别的输入。帮忙

#top-nav{
    position: relative;
    height: @top-nav-height;
    line-height: @top-nav-height;
    background: #990000;
    z-index: 5;
    text-transform: uppercase;

    &:before {
        display: block; 
        content: " "; 
        position: absolute; 
        width: auto; 
        z-index: 0; 
        top: 0; 
        left: -100%; 
        bottom: 0; 
        right: -100%; 
        background-color: #990000;
    }
}

我也使用较少,使用
内容时没有任何问题:。你能说得更具体些吗?比如显示错误本身的图像?你能把你的html放进去吗?我刚刚测试过,它在最新版本的less.js中没有给出任何错误。我复制了你的片段。我猜这和你使用的版本有关。你使用哪个版本?我打赌你有一些非打印unicode字符,而不是空格。你需要空间吗?标准是
,并直接控制
宽度
填充