这是我的代码较少,我的预处理器告诉我内容:“”; 是无法识别的输入。帮助
#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;
}
}