为什么加入position: relative;才能遮住边框呢?
.topmenu li:hover span { background: #fff; display: inline-block; width: 20px; height: 30px; float: right; position: relative; z-index: 20; }
.topmenu li:hover span { background: #fff; display: inline-block; width: 20px; height: 30px; float: right; position: relative; z-index: 20; }
2015-06-03
举报