* { padding:0; margin:0; } li { list-style:none; width:400px; height:300px; position:absolute; display:none; } img { width:400px; height:300px; } #box { width:400px; height:300px; border:1px solid red; position:relative; top:20px; left:20%; } #min { position:absolute; top:260px; left:160px; } span { display:inline-block; width:20px; height:20px; border-radius:50%; background:red; text-align:center; color:white; } a { position:absolute; width:50px; height:30px; border-radius:10px; background:blue; text-align:center; font-size:20px; } .left { top:140px; } .right { top:140px; left:350px; }
可以自己动也可以点击动 没有bug很流畅