This GIF comes from dribbble.
I've tried to write a demo with pure CSS, here's part of my codes:
@keyframes circles{
0%{
transform: scale(0) rotate(150deg);
}
100%{
transform: scale(1) rotate(0deg);
}
}
They won't rotate as a whole.
The mixing animation at the center of the gif is not required, I just want to realize the rotating effect.
Hope someone can help me.
This is a compound or nested movement. The break down is:
Following this approach, you can easily apply simple translation and rotation animations to each element and still get this swirling effect.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With