January 26, 2018 at 1:01 pm #266047
I write this code
and i’ve noticed that the transform isn’t working until i remove the animationJanuary 26, 2018 at 1:25 pm #266048
The transforms in the animation are overriding the transform on the div. I’d recommend wrapping the spinner div in parent div, and then translate the parent div.
Or if you need to do it with a single element, use two animations. One for the div and another for the :before and :after pseudo elements. On the animation for the div, add the translate to each keyframe.January 26, 2018 at 3:37 pm #266056
thank u, i fixed it
You must be logged in to reply to this topic.