I'm creating a backend ajax functionality form, and I'd like it to stay within the WordPress style.
There is a small spinning circle animation that appears on certain forms, like when you try to search for a plugin in the repo in the
How can I recreate that spinning animation?
I'm creating a backend ajax functionality form, and I'd like it to stay within the WordPress style.
There is a small spinning circle animation that appears on certain forms, like when you try to search for a plugin in the repo in the
How can I recreate that spinning animation?
Share Improve this question asked Feb 23, 2022 at 17:20 John DeeJohn Dee 5135 silver badges14 bronze badges 1- This answer points to a spinner class in Core. – Pat J Commented Feb 23, 2022 at 18:41
1 Answer
Reset to default 0Thanks for Paj J pointing the way. Just do this:
<div class = "spinner is-active"></div>