display bootstrap spinner in the center of the scren code example Example: center a spinner css .loader { left: 50%; margin-left: -4em; }