+ 5

how to make outer circles to rotate around the central circle instead of spinning

I used transform-origin but it gives strange result, perhaps i am using everything in css the wrong way... https://code.sololearn.com/Wzq6RVqDrA5G/?ref=app

23rd Mar 2019, 1:32 PM
Nidhi
4 Answers
+ 2
You had to let the petals be relative to the center, and thus let the center be the container of the petals https://code.sololearn.com/W30TBVeN4P7C/?ref=app
23rd Mar 2019, 2:00 PM
Roel
Roel - avatar
+ 4
thanks Roel
23rd Mar 2019, 2:40 PM
Nidhi
+ 4
thank you Calvin
23rd Mar 2019, 2:41 PM
Nidhi
23rd Mar 2019, 2:15 PM
CalviŐ˛
CalviŐ˛ - avatar