.carouselt{ position:relative; overflow: hidden;width:100%;height:600px; } .ct-img-big{ position:absolute; } .ct-img-big li{ float: left;} .btn-pre{top:220px;left:220px;display: none !important;} .btn-next{top:220px;right:220px;display: none !important;} .ct-img-small{height:30px;list-style: none;position: absolute;bottom:10px;left:50%;margin: 0 auto;} .btn{position: absolute; display: block;} .btn-pre{top:280px;left:220px;} .btn-next{top:280px;right:220px;} .ct-img-small li{width:20px;height:20px;border-radius: 50%;margin-left:10px; float: left; text-align: center;line-height: 20px;cursor: pointer;background: #fff;} .ct-img-small li.active{color:#fff;background: #ffd800;}