较少内容无法识别的输入

时间:2017-10-17 12:53:18

标签: css less preprocessor

这是我的代码较少,我的预处理器告诉我内容:“”; 是无法识别的输入。帮助

#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;
    }
}

0 个答案:

没有答案
相关问题