I would like to know how to rotate an object (div) around the axis of another object (another div). My problem is this: I have a larger circle and 5 smaller circles located in the part below them, each circle is a div.
Ineedtoclickonanyofthe5smallercircles,sogotothepositionwherethe3isgoingaroundthecirclefromlefttoright.Exampleofrotationwhenclickingon4:
I need this to be done only in CSS, but in case of impracticality, the solution could be done in js if it is not very extensive, thanks!