为什么我的图片在中间,并没有像老师的在左边?
.index-food-list{
overflow:hidden;
}
.index-food-list ul{
width:1160px;
}
.index-food-list .food-item{
float:left;
width:230px;
margin-left:60px;
}
.index-food-list .food-item .banner{
margin-bottom:30px;
height:202px;
}
.index-food-list .food-item .name{
color:#818181;
font-size:16px;
margin-bottom:10px;
}