April 20, 2017 at 7:19 am #254045
I can’t get my loading dot animation working in the very center of my div.
I tried everything, transform-origin, flexbox and many other things…
This is a reduced test case, and the challenge is keep the :before value because the div has already something inside.
Do you have some advices ?
For extra-suppa-pro animation, the dot needs to be at 30px max. when it get big and 5px to min….April 20, 2017 at 10:32 am #254053April 21, 2017 at 1:23 am #254058
Yes, good point, but this dot is aligned to the bottom of the bottom, it’s not animated from the center of the dotApril 21, 2017 at 7:47 am #254065
Not sure what that means or refers to…
You don’t have to use a
contentdot of course, you could make the element a square with rounded corners using
border-radius: 50%. That’ll give a lot more control over it.April 21, 2017 at 9:40 am #254069
You must be logged in to reply to this topic.