贴下你的代码
.background{ width:100%;height:60px; background-color:#000;opacity:0.5; margin-top: -60px;} 这里加一个margin-top:-60px;
background为什么要加margin-top:-60px;他的位置正好和index-nav一平的哦
index
style中的index-all是什么意思?