fgnass / spin.js

A spinning activity indicator
http://spin.js.org
MIT License
9.3k stars 1.02k forks source link

Use `position: static` #307

Closed mazing closed 8 years ago

mazing commented 8 years ago

Isn't it possible to use the spinner with position: static?

I cannot use it as absolutely positioned and I cannot find any options to change it.

fgnass commented 8 years ago

The position has to be absolute, fixed or relative since the child elements (the lines) are absolutely positioned. Wouldn't { position: 'relative' } work too in your case?

mazing commented 8 years ago

yes, position: relative would probably work as well. how can I set it to relative?

fgnass commented 8 years ago

It's a config option.

Martin notifications@github.com schrieb am Fr., 13. Nov. 2015 um 15:21:

yes, position: relative would probably work as well. how can I set it to relative?

— Reply to this email directly or view it on GitHub https://github.com/fgnass/spin.js/issues/307#issuecomment-156445055.

mazing commented 8 years ago

Sorry. Just found it in https://github.com/fgnass/spin.js/blob/master/spin.js. Thanks