Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Center loader #16

Open
sample-usr opened this issue Aug 19, 2015 · 1 comment
Open

Center loader #16

sample-usr opened this issue Aug 19, 2015 · 1 comment

Comments

@sample-usr
Copy link

Is there a prop or CSS styling to follow to make the Loader appear in the center of the page?

@egapage
Copy link

egapage commented Dec 1, 2016

Do this and give it a class name:
<Loader className = "spinner" color="#26A65B" size="48px" margin="4px"/>

Then in your .css add this:

.spinner div { width: 100px; height: 100px; position: absolute; top:0; bottom: 0; left: 0; right: 0; margin: auto; }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants