Widget:Carousel

From Jcastle.info
Revision as of 23:26, 24 July 2017 by Eric (talk | contribs)

<style> .item img {

 width: 100%;
 height: auto

}

.carousel {

 position: relative;
 width: 500px;
 height: 200px;

}

ol.carousel-indicators {

 position: absolute;
 bottom: 0;
 margin: 0;
 left: 0;
 right: 0;
 width: auto;

}

ol.carousel-indicators li, ol.carousel-indicators li.active {

 float: left;
 width: 33%;
 height: 10px;
 margin: 0;
 border-radius: 0;
 border: 0;
 background: transparent;

}

ol.carousel-indicators li.active {

 background: yellow;

} </style>