I have a carousel of images. Each image is a svg logo of fixed height and variable width. I need to put a dot below each selected image, for this I used the following code:
CSS:
footer .selecionado::before {
position: absolute;
content: '';
background-color: #009CE0;
border-radius: 50%;
width: 10px;
height: 10px;
pointer-events: none;
transform: translateY(50px);
}
HTML:
<div class="produto-logo selecionado">
<img src="imagens/logos/erp.svg"/>
</div>
Result:
But in this way the point is aligned with the left side of the image. how can I make it centered below each image?