#lyplatsBanner { width: 100%; background: #323232; text-align: center; padding: 50px 0 50px 0; } #lyplatsBanner h2,#lyplatsBanner h3,#lyplatsBanner p { color: #fff; } #lyplatsBanner h3{ font-weight: 300; margin-bottom: 4px; } #lyplatsBanner .des1223 { width: 800px; margin: 30px auto 30px auto; } #lyplatsBanner ul { width: 1200px; margin: 0 auto 0px auto; } #lyplatsBanner ul li { width: 30px; height: 6px; background: #7a7a7a; display: inline-block; margin: 0 10px; cursor: pointer; } #lyplatsBanner ul li.active { background: #fff; } #lybanner { width: 570px; height: 330px; margin: 0 auto; position: relative; } #lybanner a { position: absolute; display: block; transition: all 0.5s; } .anim { transition: all 0.5s; } #lybanner a:nth-child(1) { top: 0px; width: 560px; height: 320px; display: block; z-index: 20; transition: left 2s; } #lybanner a:nth-child(2) { top: 0px; width: 560px; height: 320px; z-index: 20; transition: left 2s; } #lybanner a:nth-child(3) { top: 0px; width: 560px; height: 320px; z-index: 20; transition: left 2s; } #lybanner a:nth-child(4) { top: 0px; width: 560px; height: 320px; z-index: 20; transition: left 2s; } #lybanner a:nth-child(5) { top: 0px; width: 560px; height: 320px; z-index: 20; transition: left 2s; } #lybanner a:nth-child(6) { top: 0px; width: 560px; height: 320px; z-index: 20; transition: left 2s; } #lybanner a:nth-child(7) { top: 0px; width: 560px; height: 320px; z-index: 20; transition: left 2s; } #lybanner a:nth-child(8) { top: 0px; width: 560px; height: 320px; z-index: 20; transition: left 2s; } #lybanner a:nth-child(9) { top: 0px; width: 560px; height: 320px; z-index: 20; transition: left 2s; } #lybanner a>img { width: 100%; height: 100%; border: solid 1px #969696; }