1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
| <style> ul li { list-style-type: none; float:left; width: 150px; height: 200px; border:1px solid red; margin-left: -1px; } ul li:hover { position:relative; border: 1px solid blue; } ul li :hover { z-index:1; border: 1px solid blue; } </style> <ul> <li></li> <li></li> <li></li> <li></li> <li></li> </ul>
|