how to put bootstrap spinner at center of page code example Example: center a spinner css .loader { left: 50%; margin-left: -4em; }