.box { width: 1200px; height: 320px; overflow: hidden; position: relative; } .box_img { width: 1200px; height: 320px; overflow: hidden; } .box_img ul li { position: absolute; display: none; } /*.box_img ul li a { display: block; width: 1200px; height: 320px; font-size: 100px; text-align: center; line-height: 320px; color: #fff; }*/ .box_tab { position: absolute; bottom: 10px; right: 10px; text-align: center; } .box_tab a { display: inline-block; padding: 2px 10px; font-size: 10px; background: #fff; margin: 0 5px; color: #333; border: 1px solid #666666; } .box_tab a.active { background: #7aac4b; color: #fff; }