I have been searching for a solution to change Carousel indicators from rectangles to circles in Stackoverflow, but all the available solutions are for Bootstrap 4. Is there a way to achieve this?
Here is what I attempted:
.carousel-indicators [data-bs-target] {
box-sizing: content-box;
flex: 0 1 auto;
width: 10px; /* modified width */
height: 10px; /* modified height */
padding: 0;
margin-right: 3px;
margin-left: 3px;
text-indent: -999px;
cursor: pointer;
background-color: #fff;
background-clip: padding-box;
border: 0;
border-top: 10px solid transparent;
border-bottom: 10px solid transparent;
opacity: 0.5;
transition: opacity 0.6s ease;
border-radius: 100%; /* added border-radius */
}
Unfortunately, this resulted in:
https://i.sstatic.net/d9G42.png
Changing the height property did not have any effect on the indicators as expected.