6
I would like to know how to rotate an object (div) around the axis of another object (another div). My problem is the following: I have a larger circle and 5 smaller circles located at the bottom of them, each circle is a div.
I need that when clicking on any of the 5 smaller circles, the same goes to the position where the 3 is in the largest circle, from left to right. Example of rotation when clicking on 4:
I need this done only in CSS, but in case of impracticability, the solution could be made in js if it is not too extensive, thank you!
This may help you friend: https://codepen.io/johnmotyljr/pen/zHBEb
– Willian Tamagi
The link sent by @Will. T is the same suggestion I would give you.
– Rafael Cavalcante