- This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hi !
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.
https://jsfiddle.net/L37gb4cg/
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….
Probably easiest to used a centered dot:
Yes, good point, but this dot is aligned to the bottom of the bottom, it’s not animated from the center of the dot
Not sure what that means or refers to…
You don’t have to use a content
dot 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.
something like this maybe?
https://jsfiddle.net/8huv76tp/