I'm attempting to create a circle with various images circling around it, resembling planets in orbit. When hovering over these images, I want the rotation to pause and display different text in the center of the circle. While I've successfully drawn a perfect circle, I'm struggling with aligning the images around it and maintaining their continuous revolution. The image below illustrates my goal. https://i.sstatic.net/CopgG.png
Essentially, each smaller circle containing numbers represents an image. Upon hovering over these circles, unique text will appear at the center of the larger circle, halting the rotation. Additionally, I aim to make this project responsive by placing it within a container and accommodating it in col-3.
I'm currently facing challenges when it comes to aligning the images and presenting the text at the center of the circle. Here is what I have attempted thus far: HTML
<div class="col-3 mx-auto" style="background-color: grey;">
<img src="images/location/2x/location.png" style="float: left; ">
<div class="circle">
<div class="text-center">
</div>
</div>
</div>
CSS
.circle{
width: 80%;
height:0;
padding-bottom: 80%;
-moz-border-radius: 50%;
-webkit-border-radius: 50%;
border-radius: 50%;
background: #4679BD;
}
What would be the most effective approach to accomplish this?
Any guidance?